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.
This adds a
RowPicking
feature. It has essentially the same logic asRowSelection
but keeps the picked rows in a separate state.Decided to create this PR after opening this discussion: #4892
It includes code, docs and an example.
Imagine you have an app which imports a CSV file. A table displays all the data that is about to be imported. You can select a row so the app can show you the issues related to it somewhere else in the UI. You can unpick rows (assuming they'd be initially all picked) to skip them from being imported. So selecting and picking rows serve different purposes.
I think having the option to pass custom features (#4832) would be great but figured this could also make sense to have as a core feature. PS: I really need this in my app :)