Is there a simple way to react to users hiding/showing a column using the Column Chooser?
Our users would like to have their individual “layouts” for each grid stored somewhere.
I couldn’t find a OnColumnVisibilityChanged
or something similar. I also tried OnColumnInserted OnColumnRemoved OnColumnUpdated and OnColumnClick, but none of them fire when column visibility is changed (or the column chooser is clicked).
Right now my solution is to
– call GetColumns()
when the user leaves the page
– parse out “visible” and “dataField” to get the current layout
– save the current visibility-levels for each column
Is there a more efficient do this?
KR
-
This topic was modified 1 year, 1 month ago by wolf.t.
-
This topic was modified 1 year, 1 month ago by wolf.t.
-
This topic was modified 1 year, 1 month ago by wolf.t.