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

[Solved] GridDropDownColumn databind to collection

1 Answer 153 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mohan
Top achievements
Rank 1
Mohan asked on 01 Oct 2009, 03:16 PM
Hi,

I am using RadGrid to show the list of request. One of the columns is the Status column. The request record contains the Id  of the status
I am using the GridDropDownColumn  for the status column. I want to bind the GridDropDownColumn  datasource at runtime to a collection. I only see the DataSourceId  property and no DataSource Property. Is there a way I can bind the GridDropDownColumn 
column to a collection. All the examples shows only the binding in edit mode.

Request Records
Requestor          ReqDate         StatusId
John                   01/01/2009     1
James                02/02/2009      2


Status values
StatusId          StatusName
1                     New
2                     Closed

I want the grid to show
John           01/01/2009       New
James         02/02/2009      Closed     


I would appreciate any help inthis matter
thanks

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 06 Oct 2009, 02:30 PM
Hello Mohan,

I would suggest you to review the following help topic:

Customize/Configure GridDropDownColumn

I hope this helps.

Regards,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Mohan
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or