-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: remove unnecessary events to re-render Header Grouping
- Header Grouping requires us to subscribe to a few events to make sure that the Header Grouping always follow the width of all columns that are contained in each group. However the `grid.onRendered` is already being called by many use cases, so there's no need to subscribe to so many events when we know the `onRendered` will be called anyway. - for example `onColumnsResized`, `onColumnsReordered`, `onColumnPickerColumnsChanged`, .... will all trigger the `onRendered`, so there's really no need to duplicate the work when we can subscribe to a lot less events to do the same work
- Loading branch information
1 parent
5ee077d
commit ce02f0f
Showing
2 changed files
with
1 addition
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters