I am probably missing something real simple.
i have a multi band grid in which 1 band is visible and ViewStyle is set to SingleBand.
How do I stop the band name from appearing as the first row in the column chooser?
Thanks!
Hi Anthony,
Thank you for posting in our forums.
You can handle the BeforeColumnChooserDisplayed event and set the Style of the column chooser control to AllColumnsWithCheckBoxes:
void ultraGrid1_BeforeColumnChooserDisplayed(object sender, BeforeColumnChooserDisplayedEventArgs e)
{
var columnChooserControl = e.Dialog.ColumnChooserControl;
columnChooserControl.Style = ColumnChooserStyle.AllColumnsWithCheckBoxes;
}
For more information about this property, please follow this link:
http://help.infragistics.com/Help/Doc/WinForms/2015.1/CLR4.0/HTML/Infragistics4.Win.UltraWinGrid.v15.1~Infragistics.Win.UltraWinGrid.UltraGridColumnChooser~Style.html
Please let me know if you have any additional questions.