Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
680
How to hide column in the ColumnChooserDialog?
posted

Hello,

There are 5 columns (e.g. C1/C2/C3/C4/C5) in the grid, now I just want the columns C1/C2/C3/C4 to be shown in the ColumnChooserDialog (i.e. hide the column C5 in the ColumnChooserDialog), is it possible?

Thanks
Felix

  • 469350
    Offline posted

    Hi Felix, 

    There's nothing to it:

    band.Columns["C5"].ExcludeFromColumnChooser = ExcludeFromColumnChooser.True;