TanStackT
TanStack16mo ago
1 reply
foolish-indigo

Dynamic getGroupingValue - trigger re-grouping

I have a date column where I want to support grouping by year, quarter, month or date.
Whenever the grouping type changes I need to set a new getGroupingValue function to get correct grouping.
However, setting this new function does not trigger a re-grouping of the rows.

Is there a way to trigger a re-grouping of the rows?
Was this page helpful?