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
3550
hide band in ColumnChooser
posted

I use showcolumnchooser.

I want to hide some bands in the column chooser, and show only the upper band.

e.g. I want the user to be able to choose only from one of the bands.

Is it possible?

  • 3707
    posted

    You can hide bands in the column chooser. Check out the code snippet that uses the InitializeLayout event below.

    private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
    {
       e.Layout.Bands[x].ExcludeFromColumnChooser = ExcludeFromColumnChooser.True;
    }