Hey,
I have a GridView which is getting filled async via Binding in combination with MVVM-Pattern. Actually one of these objects is a ObservableCollection.
In order to display this collection inside the grid nicely I'm using the celltemplate, as shown in a short examplecode:
However the problem or missing thing: I can't group or filter this column.
So imagine the gridview has2 rows:
row 1 having an object with 2 clients (A and B)
row 2 having an object with 2 clients (B and C)
I need now something like "filtering for client so that I only see objects that are in B" or group by client, getting a result like that:
A -> row-1-object
B-> row-1-object and row-2-object
C-> row-2-object
Instead of that I can't filter the column (because the icon is missing) and I can't event group that column. Grouping and filtering of all other columns works, because they contains just strings.
I hope it's clear and thanks for an answer in advance!
I have a GridView which is getting filled async via Binding in combination with MVVM-Pattern. Actually one of these objects is a ObservableCollection.
In order to display this collection inside the grid nicely I'm using the celltemplate, as shown in a short examplecode:
<
telerik:GridViewDataColumn
Header
=
"Clients"
DataMemberBinding
=
"{Binding Clients}"
Width
=
"170"
IsFilterable
=
"True"
IsGroupable
=
"True"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"Content"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
However the problem or missing thing: I can't group or filter this column.
So imagine the gridview has2 rows:
row 1 having an object with 2 clients (A and B)
row 2 having an object with 2 clients (B and C)
I need now something like "filtering for client so that I only see objects that are in B" or group by client, getting a result like that:
A -> row-1-object
B-> row-1-object and row-2-object
C-> row-2-object
Instead of that I can't filter the column (because the icon is missing) and I can't event group that column. Grouping and filtering of all other columns works, because they contains just strings.
I hope it's clear and thanks for an answer in advance!