Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: simplify logic for hiding/showing all columns within show/hide menu
The functionality to show/hide all columns within the ShowHideColumnsMenu was implemented with a custom function which filters all columns and toggles the visibility of each column. This calls the `onColumnVisibilityChange` callback multiple times. In my opinion this can be refactored to use the tables `toggleAllColumnsVisible` API, which results in only one call of `onColumnVisibilityChange` and makes the code easier to understand. Fixes: #1277
- Loading branch information