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

[Solved] GridView with columns of different sources

1 Answer 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Abner Estrada
Top achievements
Rank 1
Abner Estrada asked on 14 Sep 2010, 05:07 PM
Hi, I trying to develop this feature in my grid view,  with MVVM).

1. It pulls data from a collection. 
2. When I edit a cell (using CellTemplate, and CellEditTemplate). The user should be able to select the combox values inside the CellEditTemplate, So all I want is to fill the comobox  with another collection. e.g. 

Column1 = PersonName 
Column2 = Combox  with Contacts, It's a ObservableCollection<Contacts>

Thanks


1 Answer, 1 is accepted

Sort by
0
Accepted
Maya
Telerik team
answered on 14 Sep 2010, 05:12 PM
Hello Abner Estrada,

When using a GridViewComboBoxColumn or a ComboBox, you need a data source for the RadGridView and a separate one for the ComboBox/GridViewComboBoxColumn. You may find mode information on this topic in our online documentation.
Let me know if you need any further help.

Regards,
Maya
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
GridView
Asked by
Abner Estrada
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or