Hello,
i use RadGridView and want to set a GridViewDataColumn using CellTemplateSelector. I have used the DataMemberBinding to bind the property, but my selector gets only the whole item data.
ex. i have ViewModel MyVM and some properties. One of them named Status. And the xaml code like below.
The item in
Any idea? Thanks!
Ivan
i use RadGridView and want to set a GridViewDataColumn using CellTemplateSelector. I have used the DataMemberBinding to bind the property, but my selector gets only the whole item data.
ex. i have ViewModel MyVM and some properties. One of them named Status. And the xaml code like below.
<telerik:GridViewDataColumn Width="40" ColumnGroupName="status" Header="Header"DataMemberBinding="{Binding Status}" SortMemberPath="Status"
CellTemplateSelector="{StaticResource myDataTemplateSelector}"/>The item in
myDataTemplateSelector ist always MyVM instead of MyVM.Status.Any idea? Thanks!
Ivan