You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is currently no way to target the checkbox option at the top of tables, the icon that gets triggered whether there is one or all of the items on the table selected. When one or more items are selected (but not all) this checkbox turns into a "_" symbol, as seen in the image below. If I select all the items, it turns into a checkmark, and if I deselect all it turns into an empty box.
From what I've gathered, it can have three states: "all checked," "one or more, but not all checked" and "none selected." This can be controlled by clicking directly on it or selecting an item (by clicking on the checkbox next to that item).
However, there is no external way of targeting this behavior. There are two use cases in which this has been a problem:
For example, I've added table filters to my table, so when I make a search query and filter my rows, this checkbox doesn't get automatically updated. Let's say I have two items selected on my table (checkbox in header looks like a "-" symbol). If I select a filter and those items are no longer selected, the checkbox in the table header still looks like a "-" even though no items are currently selected.
On the other hand, if I select table items not by clicking directly on the checkbox next to the item, but by clicking the whole row (which is custom behavior I've implemented), the checkbox in the header, again, doesn't get updated.
Describe the solution you'd like
A simple solution would be to add some sort of property or function to manually control this behavior. So when I run my filter or select functions I can manually update this checkbox.
Describe alternatives you've considered
The array corresponding to selected items, which is the one this checkbox is using to trigger its own behavior is getting updated correctly. I'm logging its value before and after I make a selection or set a filter. But this is not triggering a refresh of the checkbox itself.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
There is currently no way to target the checkbox option at the top of tables, the icon that gets triggered whether there is one or all of the items on the table selected. When one or more items are selected (but not all) this checkbox turns into a "_" symbol, as seen in the image below. If I select all the items, it turns into a checkmark, and if I deselect all it turns into an empty box.
From what I've gathered, it can have three states: "all checked," "one or more, but not all checked" and "none selected." This can be controlled by clicking directly on it or selecting an item (by clicking on the checkbox next to that item).
However, there is no external way of targeting this behavior. There are two use cases in which this has been a problem:
For example, I've added table filters to my table, so when I make a search query and filter my rows, this checkbox doesn't get automatically updated. Let's say I have two items selected on my table (checkbox in header looks like a "-" symbol). If I select a filter and those items are no longer selected, the checkbox in the table header still looks like a "-" even though no items are currently selected.
On the other hand, if I select table items not by clicking directly on the checkbox next to the item, but by clicking the whole row (which is custom behavior I've implemented), the checkbox in the header, again, doesn't get updated.
Describe the solution you'd like
A simple solution would be to add some sort of property or function to manually control this behavior. So when I run my filter or select functions I can manually update this checkbox.
Describe alternatives you've considered
The array corresponding to selected items, which is the one this checkbox is using to trigger its own behavior is getting updated correctly. I'm logging its value before and after I make a selection or set a filter. But this is not triggering a refresh of the checkbox itself.
The text was updated successfully, but these errors were encountered: