Skip to content

Clarity Datagrid (Hide/Show) Columns #1254

Answered by kevinbuhmann
DrunkenApollo asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, there is a clrDgHiddenChange event that you can handle. Here is an example: https://stackblitz.com/edit/clarity-light-theme-clr17-yua7jo

My example uses [(clrDgHidden)] for two-way binding, but you can de-sugar it to call an event handler method if needed: [clrDgHidden]="value" (clrDgHiddenChange)="onHiddenChange(...)".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kevinbuhmann
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