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

Binding of GridViewComboBoxColumn

1 Answer 1167 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 04 Nov 2016, 08:59 AM
Hello, 
i am working on an mapping application with a RadGridView and only two columns, in the second column, i have foreach row a GridViewComboBoxColumn.
The GridViewComboBoxColumn, looks in xaml like this:
<telerik:GridViewDataColumn  DataMemberBinding="{Binding PropName, UpdateSourceTrigger=PropertyChanged}" Header="MappingPropertyItem" Width="200"/>
Now my problem is how to bind the selectedItem to my ObservableCollection. Does anybody know how i can bind the selectedItem?
I already took a look at this thread: http://www.telerik.com/forums/contextmenu-bind-to-selected-value-of-radgridview-combobox
But this example didnt help me further....

Any help is welcome, thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 04 Nov 2016, 05:26 PM
Hello Christopher,

Here is a help article on GridViewComboBoxColumn. The DataMemberBinding is actually a binding to the SelectedValue property of RadComboBox. If the mentioned article does not help you to accomplish your goal, you can use our support ticketing system to send us a sample project that illustrates your scenario better.

Regards,
Ivan Ivanov
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
GridView
Asked by
Christopher
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or