Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ctrl-A select all rows in grid #1149

Closed
pauldelano opened this issue May 30, 2019 · 1 comment
Closed

Support Ctrl-A select all rows in grid #1149

pauldelano opened this issue May 30, 2019 · 1 comment
Assignees
Labels

Comments

@pauldelano
Copy link
Contributor

pauldelano commented May 30, 2019

ag-Grid supports keyboard shortcuts like Ctrl-C Copy but not Ctrl-A Select-all.

It can be implemented in an application by adding a grid keyDown event handler:

keyDown(evt) {
  if (evt.ctrlKey && evt.key == 'a') {
    gridModel.agAPi.selectAllFiltered();
  }
}

See related selModel issue #1150.

@amcclain amcclain added the grid label May 30, 2019
@lbwexler lbwexler self-assigned this Jun 5, 2019
@lbwexler
Copy link
Member

lbwexler commented Jun 5, 2019

I took this and implemented it here, but am finding that our selModel's attempt to do selectAll() is still unbelievably slow. I thought we fixed this?

UPDATE: The selection fixes works great -- had somehow not pulled the new code locally

lbwexler added a commit that referenced this issue Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants