T
TanStack3mo ago
optimistic-gold

Expand Event triggers when table data is empty (filter gets applied and no data is found)

Hi, i have a situation where i want to emit a stateChange event whenever something happens in the table. In case i apply a filter i emit this change. For some reason when i apply a filter condition and the onColumnnFilterChange triggers the onExpandChange also triggers. Resulting in two emits.
No description
1 Reply
optimistic-gold
optimistic-goldOP3mo ago
i solved it using autoResetExpanded and setting it manually to false

Did you find this page helpful?