question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AllenFangcommented, May 3, 2017

I couldn’t find a way to configure this behavior. Would it be possible to add a configuration option for this

sure, I’ll try to support it, but need some time.

I guess you couldn’t just change it for compatibility reasons

Absolutely right

0reactions
victorbrcommented, May 7, 2017

Thank you so much for that quick enhancement! Just checked it out and it works perfectly!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Re: Beware ! Misleading behaviour using Select all...
Hello everyone, I come to you to talk about this misleading behavior when using select all/ clearing slicer selection when using a filter ......
Read more >
Sort Filter not showing all data to select/deselect on some
Strangely if I filter one column that sorts/filters and then go back to a column that was not filtering it then shows all...
Read more >
Unexpected behavior Select All and Deselect All action ...
One reason is because eventReactive is "lazily-evaluated" as opposed to observeEvent which is evaulated immediately.
Read more >
dxDataGrid - The "Select All" operation ignores the filter
First, the behavior of SelectAll checkbox status is not correct. It should not be "indeterminate" after filtering by "B" because there isn't ...
Read more >
Filtering data and Selecting all checkbox gets all the ... - Telerik
After looking at the last link it seems that everything works are expected. ... In general, there is no best approach as everything...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found