I have a Grid with datacontext set to the VM working fine. The VM has a List<Item> and a many to many object Graph List<myReport> of Report/VisitItems.Item
In the detail grid view, the item field is set as gridviewcomboboxcolumn
however the gridviewcomboboxcolumn is not working, it is blank when loaded, and after selection and lost focus, it returns to blank.
anything wrong with the binding code? i am trying not to use code behind as I am using mvvmlight. Tks.
In the detail grid view, the item field is set as gridviewcomboboxcolumn
<telerik:RadGridView ShowGroupPanel="False" AutoGenerateColumns="False" ItemsSource="{Binding Path=myReport.visititem}" CanUserInsertRows="True">
<
telerik:GridViewComboBoxColumn
x:Name
=
"cbItem"
Header
=
"Item Name"
UniqueName
=
"ItemName"
EditTriggers
=
"CellClick"
ItemsSource
=
"{Binding ItemList}"
DisplayMemberPath
=
"{Binding Path=Name}"
DataMemberBinding
=
"{Binding Path=myReport.VisitItem/Item}"
>
however the gridviewcomboboxcolumn is not working, it is blank when loaded, and after selection and lost focus, it returns to blank.
anything wrong with the binding code? i am trying not to use code behind as I am using mvvmlight. Tks.