Normally, Essential Grid uses the same combobox for all the cells with the celltype ComboBox in the Grid. When you move from one combobox cell to another, the choicelist (or DataSource depending upon what you are using) is swapped out to reflect the settings of a new cell. When you try to swap the combobox cell by using a choicelist with a combobox cell by using a DataSource, it does not work.
To overcome this, create two ComboBox cell models, one for choicelists and another for DataSources. You can use the GridControl.CellModels.Add method to add this second celltype.
This registers a new celltype named ComboBoxDS that is just another ComboBox cell. You can use the ComboBoxDS as the celltype for your cells that require a DataSource, and use the ComboBox as the celltype for the cells that require a ChoiceList.
Adding the ChoiceList/DataSource to the ComboBox cell:
This problem has been resolved in our later versions of Essential studio Grids.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|