I am populating a GridViewComboBoxColumn in RadGridView with data from an ArrayList.
How to set a default value on the column (using index from ArrayList or maybe just using string compare) on grid load?
Please advise.
/Br. Anders
1 Answer, 1 is accepted
1
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Sep 2023, 03:42 PM
Hello, Anders,
RadGridView offers a CellEditorInitialized event which gives you access to the activated editor (RadDropDownListEditor) and can adjust any settings you want. The RadDropDownListEditorElement.SelectedIndex property allows you to specify what item to be selected in the drop down once it is initialized.