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?
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?