How to Hide an Unnecessary Column from the Multiple Columns

9 Dec 20191 minute to read

MultiColumnComboBox allows us to hide unnecessary columns. If you want to hide a particular column, follow this method anywhere in code but before displaying the dropdown.

Syncfusion.Windows.Forms.Grid.GridColHidden gch=new Syncfusion.Windows.Forms.Grid.GridColHidden(3);// Hides column number '3'
multiColumnComboBox1.ListBox.Grid.ColHiddenEntries.Add(gch);
Dim gch As Syncfusion.Windows.Forms.Grid.GridColHidden = New Syncfusion.Windows.Forms.Grid.GridColHidden(3) 'Hides column number '3'
multiColumnComboBox1.ListBox.Grid.ColHiddenEntries.Add(gch)

This will hide the 3rd column. If you want to disable more columns repeat this step by the respective column number.