i have WinGrid that have 6 column col1,col2,col3 not hidden but col4 ,col5 hideen and col6 no need to dispaly it for the users i am use it for calculation some fields .
My Question How to excluded column col6 from the GridColumnChooser
Get a reference to the column, usually by:
grid.DisplayLayout.Bands[0].Columns[indexOrName]
and set:
column.ExcludeFromColumnChooser = true;
It's usually a good idea to do this in the InitializeLayout event. So you would use:
e.Layout.Bands[0].Columns[indexOrName]
Thank you .