You can define GridViewComboBoxColumn to get the desired functionality. Please take a look at this article for more information. You can use its ItemsSource property in order to bind it to some DataBase object or some other type of collection.
Please find attached a sample project that shows you how to achieve your goal.
Thank you for the email. However, in my scenario, I don't know the number/type of columns in advance - they are added dynamically when I set the grid's item source.
Therefore the column ends up being a GridViewComboBoxColumn with a DataType of bool? (nullable boolean).
What approach can I use in that scenario?
Thanks.
0
Yoan
Telerik team
answered on 20 Aug 2012, 12:26 PM
Hi Gonzalo,
You can subscribe to AutoGeneratingColumns event of the RadGridView and cancel the generating of the column that you do not need (the CheckBoxColumn). After that you can set the ComboBox column. You can also check this link.