This question is locked. New answers and comments are not allowed.
Hi Guys,
I have a GridView whose ItemsSource is bound to a collection of say ObjectX.
ObjectX has a Dictionary<string, object> in it where I am storing some context data.
I define the columns in xaml like so:
What am I missing?
Any help would be greatly appreciated.
Regards
I have a GridView whose ItemsSource is bound to a collection of say ObjectX.
ObjectX has a Dictionary<string, object> in it where I am storing some context data.
I define the columns in xaml like so:
<telerik:GridViewDataColumn Header="Col1" DataMemberBinding="{Binding Path=Context[key1]}"
<telerik:GridViewDataColumn Header="Col2" DataMemberBinding="{Binding Path=Context[key2]}" /> <telerik:GridViewDataColumn Header="Col3" DataMemberBinding="{Binding Path=Context[key3]}" />Where Context is the Dictionary collection. This works great (I am able to display the correct data). But I cannot do any grouping/sorting/filtering on these columns. I have tried setting the GroupMemberPath and SortMemberPath with no luck.
What am I missing?
Any help would be greatly appreciated.
Regards