AD
Administrator
Syncfusion Team
December 17, 2002 03:14 PM UTC
In addition to setting the CellType of the column to "ComboBox", you can also set the DataSource, DisplayMember and ValueMember of the column (or cell). So, if you have a datatable that has a column named ID and a column named Description, you can set the DataSource to the datatable, the DisplayMember to "Description" and the ValueMember to "ID". Then the combobox will display the descriptions, but will use the id as the value.
Take a look at the GDBGcombos sample.