Hi,
I have the following code:
<
telerik:RadGridView
ItemsSource
=
"{Binding PagedSource, ElementName=dataPager}"
IsReadOnly
=
"True"
ShowGroupPanel
=
"False"
ShowColumnHeaders
=
"False"
RowIndicatorVisibility
=
"Collapsed"
AutoGenerateColumns
=
"False"
AutoExpandGroups
=
"True"
>
<telerik:RadGridView.GroupDescriptors>
<telerik:GroupDescriptor Member="OwnerTypeDescription"/>
</telerik:RadGridView.GroupDescriptors>
</
telerik:RadGridView
>
<
telerik:RadDataPager
x:Name
=
"dataPager"
PageSize
=
"{Binding RecordsPerListPage}"
Source
=
"{Binding PagedCollection}"
DisplayMode
=
"FirstLastPreviousNext"
IsTotalItemCountFixed
=
"False"
/>
The property RecordsPerList page returns 10, however the paging doesn't take this into account and 20+ records are still shown on a single page.
I noticed that this only happens if grouping is set for the gridview. If I remove the GroupDescriptor paging works properly and only 10 records per page are shown.
Any idea why this is happening?
Thanks!