This is a migrated thread and some comments may be shown as answers.

ComboBox for a cell in a row

2 Answers 30 Views
GridView
This is a migrated thread and some comments may be shown as answers.
CJ
Top achievements
Rank 1
CJ asked on 07 Feb 2011, 09:20 AM
Hi,

I have a winform where i generate a RadGridView at runtime with three GridViewTextBoxColumn for editing and bind data at runtime. For one particular cell in a row alone i need a Combobox instead of Textbox. This also must be done at runtime dynamically. Can you advice on how to implement this?

thanks
J Sagayanathan

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 07 Feb 2011, 10:24 AM
Hi Sagayanathan,



Add "GridViewComboBoxColumn" for getting combobox when editing the row.
GridViewComboBoxColumn 



-Shinu.
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 07 Feb 2011, 10:38 AM
Hello,

In addition to the information given by Shinu, the RadGridView will render the appropriate column type, and column editor for the data supplied. If your datasource includes boolean values, then the RadGridView will automatically render a GridViewCheckboxColumn.

Hope that helps, but let me know if you need anything further
Richard
Tags
GridView
Asked by
CJ
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Share this question
or