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

How do you bind grid view combobox cell to different data sources based on value of another cell

1 Answer 27 Views
GridView
This is a migrated thread and some comments may be shown as answers.
kwaku
Top achievements
Rank 1
kwaku asked on 20 Feb 2018, 12:35 PM
Hi I’m developing an application and I need to bind the combobox column to difference datasources depending on the value of another cell. For example; when the user enters value “fruits” in a cell of a row 1, the next cell, which is a combobox presents to the user items of fruits only; when he enters “cars” in the next row only cars are listed in the combobox cell of the row. How do I achieve that?

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Feb 2018, 01:02 PM
Hello, Kwaku, 

Thank you for writing.  

This is a standard cascading combo boxes scenario. Please refer to the following KB article which describes in details how to handle such a case: https://www.telerik.com/support/kb/winforms/gridview/details/cascading-comboboxes-in-radgridview

I hope this information helps. Should you have further questions I would be glad to help. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
kwaku
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or