I want to place a combobox inside one column of a Xtragrid. I can bind the combobox to array but how do you bind the combox to the column?
+6
A:
Use the ColumnEdit property of the column to asign a lookupedit control (new). The lookupedit control is the combo box you need.
Javier Suero Santos
2008-11-11 08:17:09
In doing this you are creating a repository item, which is what is assigned to the edit control of the column
Jiminy
2009-05-12 02:08:29
+2
A:
In the ColumnEdit property of the column, add a (new) ComboBoxEdit. If you always want it visible, set the ShowButtonMode on the column to always.
This will create a repositoryItemComboBox1 object (that's default name) that you can add items to if you so choose to display in the dropdown list. i.e. repositoryItemComboBox1.Items.add("My Text");
SnOrfus
2009-02-25 20:11:15