Unselect all behavior is not consistent with select all when the data is filtered
See original GitHub issueThe table is configured to have the selection enabled (selectRow.mode = 'checkbox'
) and column filtering enabled as well.
Suppose the user filters some rows using column filters and presses the “select all” checkbox (at the selection column header).
As expected, only the visible rows are selected.
Now suppose the user changes the filter to display a different set of rows (possibly seeing some selected rows).
Now pressing the “unselect all” checkbox again unselects all rows of the table, both those that are visible and those that are not.
This behavior is surprising and not consistent with “select all” which selects only the visible rows.
I couldn’t find a way to configure this behavior. Would it be possible to add a configuration option for this (I guess you couldn’t just change it for compatibility reasons)? Thank you!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
sure, I’ll try to support it, but need some time.
Absolutely right
Thank you so much for that quick enhancement! Just checked it out and it works perfectly!