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
2490
Caption
posted

Hi,

What is the property to active the caption of my UltraGridColumnChooser.

When I have more that 1 band the name of each band is actif.

But If i have just one band the name of the caption is not appear.

Thank

Francois.

Parents
  • 29065
    Suggested Answer
    Offline posted

    Hello Francois,

    The behavior you are experiencing is correct when you only have one band. A single band header will not display in the ColumnChooser dialog. If you do however have more than one band you can achieve the behavior you desire by setting the ColumnChooserControl.MultipleBandSupport property to SingleBandOnly. Depending on what you set the CurrentBand property to will display the band header with it's respectful columns.

    You could create a dummy band and set it the hidden property to true,

    this.ultragrid1.displaylayout.band[1].hidden = true;

    Please see my sample attached for further details. I'd also recommend that you submit a feature request on our website for single band support. <ideas.infragistics.com>

     

     

    ColumnChooserCaptionTest.zip
Reply Children
No Data