Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

I need to trigger a event whenever changes in column picker in grid #914

Answered by ghiscoding
MohanramG asked this question in Q&A
Discussion options

You must be logged in to vote

That event is to be used on the columnPicker and/or gridMenu grid options, you can't use it in the html it's not exposed as a grid event because it's not a grid thing, it's a column picker or grid menu thing so that's where you'll find it. You can see it in Example 9 (console log). I updated the Column Picker - Wiki as well

columnPicker: {
hideForceFitButton: true,
hideSyncResizeButton: true,
onColumnsChanged: (e, args) => {
console.log('Column selection changed from Column Picker, visible columns: ', args.visibleColumns);
}
},

Please consider asking your que…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MohanramG
Comment options

Answer selected by ghiscoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants