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

GridDropDownColumn Not bound to a Data Source

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 23 Sep 2010, 10:26 PM
I am trying to use a GridDropDownColumn in a rad grid.  I do not want to bind it to a datasource because it only contains 2 values (Approved/Rejected) that do not come from a database or anything.  How do I go about making this work?  Everything I find shows me that I need to bind it to a datasource.  It seems like I should be able to pass it a collection of items to use though?  The only other option I've seen is use a template column but then I need to manually handle binding each row to the appropriate DD value.  This is a huge PITA.  Any help would be appreciated. 

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 29 Sep 2010, 11:40 AM
Hi Dave,
Thanks for your question.

Check the article How to Customize/Configure GridDropDownColumn. As you said, your options is to use templete column, since the data in the GridDropDownColumn, comes from DataSource of the grid.
Also as an additional help you can see Operations with MS DropDownList in EditItemTemplate of GridTemplateColumn

Sincerely yours,
Vasil
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or