Edit this page

Unbound Mode

RadMultiColumnComboBox supports unbound mode allowing to add columns and rows programmatically.

Unbound mode

this.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns.Add("Name");
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns.Add("Id");

for (int i = 0; i < 10; i++)
{
    this.radMultiColumnComboBox1.EditorControl.Rows.Add("Item" + i, i);
}

Me.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns.Add("Name")
Me.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns.Add("Id")
For i As Integer = 0 To 9
    Me.RadMultiColumnComboBox1.EditorControl.Rows.Add("Item" & i, i)
Next

Figure 1: Unbound mode

multicolumncombobox-unbound-mode 001

See Also