After the grid is populated with data (after setting RadGridView.DataSource
) and its columns are automatically generated, you can remove a certain column and add a new one, e.g. GridViewComboBoxColumn
. You need to apply another collection for DataSource
of the column together with column's DisplayMember
properties. Note that the ValueMember
needs to correspond to the values that you have in the cell, e.g. if you have ID and Name column and you have stored the IDs in the grid cells, in order to display the correct value when loading the grid, make sure that you specify the column's FieldName
to the respective field in the applied RadGridView.DataSource
collection. Thus, the cells' values will be populated with the respective values in the grid. Then, if you edit a cell, the value will be updated to the underlying DataBoundItem
Additional information how to setup the GridViewComboBoxColumn
is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/gridview/columns/column-types/gridviewcomboboxcolumn
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.