Hi Eddy,
The MultiColumnComboBox displays the column in the exact order in which they appear in its datasource. The DataSet.Table by default sorts the columns in alphabetical order which might cause the order of the columns to be changed. Please refer to the Trace message displayed in the Form''s Load event handler which illustrate this.
You could hide or show columns in the MultiColumnComboBox as shown below :
this.multiColumnComboBox1.ListBox.Grid.Model.Cols.Hidden[1] = true;
this.multiColumnComboBox1.ListBox.Grid.Model.Cols.Hidden[4] = true;
You could set the MultiColumnComboBox''s value as null as shown below :
this.multiColumnComboBox1.SelectedIndex = -1;
this.multiColumnComboBox1.SelectedItem = null;
Please refer to the
test sample attached here that illustrates the above and let me know if you need further assistance. Thanks for your interest in Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.