Skip to content

Commit

Permalink
fix: aggregation should trigger column update directly, and not lean …
Browse files Browse the repository at this point in the history
…on resize event
  • Loading branch information
lauri865 committed Dec 4, 2024
1 parent d4707a1 commit 5ca918f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const useGridAggregation = (
const currentModel = gridAggregationModelSelector(apiRef);
if (currentModel !== model) {
apiRef.current.setState(mergeStateWithAggregationModel(model));
apiRef.current.updateColumns([]);
apiRef.current.forceUpdate();
}
},
Expand Down

0 comments on commit 5ca918f

Please sign in to comment.