Skip to content

Commit 7044363

Browse files
authored
fix: Enforce useColumnOrder to be used before useGroupBy (#2553)
so that column order change done by grouping is applicable..on top of ordering done by useColumnOrder
1 parent 1141ae1 commit 7044363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugin-hooks/useGroupBy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ function useInstance(instance) {
136136
getHooks,
137137
} = instance
138138

139-
ensurePluginOrder(plugins, ['useFilters'], 'useGroupBy')
140-
139+
ensurePluginOrder(plugins, ['useColumnOrder', 'useFilters'], 'useGroupBy')
140+
141141
const getInstance = useGetLatest(instance)
142142

143143
allColumns.forEach(column => {

0 commit comments

Comments
 (0)