Hello
The ItemSource of my RadGridView is binded to a QueryableCollectionView in my ViewModel.
<
telerik:RadGridView
x:Name
=
"radGridView"
GroupRenderMode
=
"Nested"
ItemsSource
=
"{Binding MyView, UpdateSourceTrigger=PropertyChanged}"
AutoGenerateColumns
=
"False"
ShowGroupPanel
=
"True"
RowIndicatorVisibility
=
"Collapsed"
IsReadOnly
=
"True"
ShowSearchPanel
=
"True"
>
<
telerik:RadGridView.Columns
>
...
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
I use Items.ItemCount to show the Count of Items in the RadGridView. It works great, also when I filter the GridView. However when I use grouping, it works not correctly. It counts the groups instead of Items.
<
TextBlock
Grid.Row
=
"0"
Grid.Column
=
"1"
Text
=
"{Binding Items.ItemCount, ElementName=radGridView}"
TextAlignment
=
"Right"
/>
How can I get around this problem? I do not want to use the AggregateFunctions.
Thank you.