How can I combine two display members in a GridDropDownColumn. For example my table has a column Item_Id. The item table has a Make and Model field. I want my combobox to display Make-Model.
3 Answers, 1 is accepted
0
Accepted
Viktor Tachev
Telerik team
answered on 12 Mar 2015, 01:45 PM
Hello Josh,
The functionality you describe is not available out of the box. However, you can use custom logic to implement it.
You can create a temporarily collection (e.g. DataTable) where you can store the Make and Model in a single field. Then you can set the dropdown control to display the information from that field.
In order to implement this it may be easier to use GridTemplateColumn and place a RadComboBox in the EditItemTemplate.
Regards,
Viktor Tachev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I appreciate you getting back to me. The approach I went with is I created a view to accomplish this. Seems to work good.
Thanks,
Josh
0
Viktor Tachev
Telerik team
answered on 17 Mar 2015, 01:02 PM
Hi Josh,
Thank you for sharing your solution with the community.
Regards,
Viktor Tachev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.