Skip to content

Unselect all behavior is not consistent with select all when the data is filtered #1276

Closed
@victorbr

Description

@victorbr

The 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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions