-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Re-implement row selection #1762
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
502ee11
Re-implement row selection
amanmahajan7 97c78fa
Re-enable jsx-curly-brace-presence
nstepien f5f9e86
onSelectedRowsChanged -> onSelectedRowsChange
nstepien c7bf8fe
Small cleanup in Canvas.tsx
nstepien f50d526
small tweaks
nstepien 70c9718
Delete RowUtils tests
nstepien 7aad306
Fix Canvas tests
nstepien a15cab4
Get shift selection almost working
nstepien f5da8d4
Simplify a few exports
nstepien 2afa28f
Focus CellMask when clicking on a cell
nstepien e238aac
Working shift selection
nstepien 90034bb
use a ref for lastSelectedRowIdx
nstepien a41b1c8
Add class methods to avoid recomputation
amanmahajan7 18d3334
Do it the react way
nstepien 68bd0d8
Simplify 1 type
nstepien a6bac01
Fix selection
nstepien 5e00be3
Merge remote-tracking branch 'origin/am-improve-props' into am-ns-sel…
nstepien e62c354
tweaks
nstepien 1242b30
Remove references to `enableRowSelect`
nstepien b303f93
More cleanup
nstepien 3df4710
fix some tests
nstepien edb4fa7
fix tests
nstepien 9438985
Remove @testing-library/react/cleanup-after-each
nstepien c79be1f
Fix some examples
nstepien 604cb90
Fix another example
nstepien 2a0d7fd
optimize all-features example
nstepien 785f0d7
Cleanup viewport events
amanmahajan7 9f6762d
Cleanup props, remove PureComponent
amanmahajan7 ba576e8
Fix draggable header example
amanmahajan7 b92761a
Commit reordering fixes (not working)
amanmahajan7 3519c43
Remove row-reordering components
amanmahajan7 5ce39f9
Fix eslint errors
amanmahajan7 ce14794
Remove re-ordering refrences
amanmahajan7 2e1a989
Remove tests for the deleted file
amanmahajan7 390434b
Fix types
amanmahajan7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a new API. We should mark it and add docs later.