T
TanStack3y ago
adverse-sapphire

Global Checkbox Select After Filter

Is there anything I need to do in order to make a checkbox in the header row work properly after filtering a table? I have a custom select component that filters the table base on unique values in a specified column. After filtering, the checkbox seems to be behaving as if the other rows still exist. I'd like for the table's state to update so that the only rows in the state are the ones shown after filtering.
1 Reply
adverse-sapphire
adverse-sapphireOP3y ago
I guess another way to ask would be, is there a way to change what the table thinks "all the rows" are? The checkbox uses getToggleAllRowsSelectedHandler, but the hidden rows are still part of that and I don't want them to be.

Did you find this page helpful?