I wanted to implement a column chooser for a grid. Then I followed this doc here
and found out that I basically just need to add this piece of code inside my grid to achieve the desired feature.
Now my question is:
Is there a way I can reuse this block of code in several grids? Such as via usercontrols?
I just want to keep my code clean.
please show me the way.