Replies: 1 comment
-
@Sergionx Do you mind sharing what your workaround is? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Many projects require dynamic changes to a column’s aggregation strategy at runtime.
Currently, I had to build a workarounds using states manually when I want a column to switch from one aggregation type to another (e.g., sum to count).
Providing a
setAggregationFn
method would create a straightforward pathway to swap aggregators on the fly, enhancing flexibility and reducing the need for custom hooks or ad-hoc state management.I imagine it the methodlooking like this:
column.setAggregationFn(key)
Beta Was this translation helpful? Give feedback.
All reactions