I have a RadGridView with AutoGenerateColumns="true". Now i need to change one of the columns from being a plain column to a comboboxcolumn in code behind. What is the best way to do this?
So instead of displaying a grid with say 3 columns:
[id] [PersonId] [PersonName]
i want 2 columns and catch the column with PersonName an replace it with a comboboxcolumn so i can pick any row in the column. The comboboxvolumn sould display the [PersonName] but the value should be the [PersonId].
Also the grid is used to display various tables so i cant use a predefined template i think?
I dont know if this makes sense? :)
So instead of displaying a grid with say 3 columns:
[id] [PersonId] [PersonName]
i want 2 columns and catch the column with PersonName an replace it with a comboboxcolumn so i can pick any row in the column. The comboboxvolumn sould display the [PersonName] but the value should be the [PersonId].
Also the grid is used to display various tables so i cant use a predefined template i think?
I dont know if this makes sense? :)