T
TanStack3y ago
extended-salmon

V7.* and how can I only get the "off" or unchecked check boxes?

I have an issue with a "select all" functionality I am trying to implement.. The problem arises because my data is not fully loaded all at once. I only load the pages the user goes to. So, I check for the selectAll prop, and then toggleAllRows... but, when a user "unchecks" one, it sends up all the checkboxes that are checked. I know I can do an xor or something like that, but its becoming unwieldy. I don't want that. I only want what is "unchecked", so I can create an exclusion list. Is there a way to know "when" a row is "clicked" and if checked is false, I can fire an action and send it up to the parent. So, any way to get the unchecked checkboxes for the current display data?
1 Reply
extended-salmon
extended-salmonOP3y ago
Bueller

Did you find this page helpful?