Expose _getOrderColumnsFn so we can override it #4279
-
For all the features except ordering, the user is able to customize how data is massaged like with getExpandedRowModel, getGroupedRowModel, etc. When using ordering and grouping, we don't want the grouped columns to be moved to the start of columnOrder and this is the function that calls orderColumns which does that. We are requesting to expose a getOrderColumnsFn similar to what is done here: https://github.com/TanStack/table/blob/main/packages/table-core/src/features/Expanding.ts#L156 This will require no updates since by default it will use the built in function, but will let the user override it if they want to. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Does groupedColumnMode: false not work for your use cases? |
Beta Was this translation helpful? Give feedback.
Does groupedColumnMode: false not work for your use cases?