I am using the UltraGridColumnChooser on a UltraGrid. Is there any way to trap the event when the user changes the visibility of one of the columns?
Sam
Hi Sam,
Yes, trap the Before/AfterColPosChanged event of the grid.
That works great, but I seem to be having issues getting the property I need...
What I want to do is tweak the actual select statement when a user hides a column:
DataTable:
Of course the Caption for each of the text columns are different from the DataTable. In the debugger, I see that the ColumnHeader has a hidden property DefaultHeaderCaption, which appears to be the actual DataTable column name. How do I go about getting that value?