Silverlight supports the data paging mechanism natively. In the meantime, there are no easy approaches to implementing the IPagedCollectionView interface in WPF.
The easiest way to implement data paging is to change the grid's ItemsSource when the page index is changed. This example contains special attached behavior that allows you to enable this feature with ease.
See Also:
How to support paging in DXGrid by implementing the IPagedCollectionView interface
Question Comments
Added By: Ravickumar Murugesan at: 8/23/2013 3:00:35 PM
With this implementation the search behavior is not normal.
Added By: Alexander (DevExpress Support) at: 8/25/2013 11:27:33 PMHello,
I have checked the Search Behavior with this solution using version 13.1.6, and it appears that everything works as expected. Searching operates only for the current page. If you have other behavior on your side, would you please describe the issue in greater detail?
P.S. Please create a separate ticket to clarify this moment. If we find an issue with the provided solution, we will update it.
I getting NULL exception at this line:
DataPager.ItemCount = Sources.Count;
Hello,
We have moved your question to a separate thread: Q466351 thread. Please refer to it for further discussion.
Added By: kumar gaurav 8 at: 8/7/2014 11:51:08 PMthis solution is not working because the GetValue(sourceproperty) gives null
Added By: Alexander (DevExpress Support) at: 8/8/2014 2:37:17 AMHi Kumar,
I've noticed that there is a separate thread with the same question from you: How to implement paging in dxg:GridControl using dxe:DataPager. We will answer in that ticket as soon as possible. Please give us some time.
How could I add the datapager in the footer of the gridControl. I add it to the FooterTemplate of the tableview , but it can't works well. What should I do?
Added By: Nadya (DevExpress Support) at: 10/15/2014 3:01:53 AMHi, Candy
We have moved your question to a separate thread: T161457 - How to add DataPager in the GridControl footer . Please refer to it for further discussion.
Added By: Sapient IT GSS at: 4/14/2015 9:43:28 PMNot getting you completely, can you please explain by an example instead of old post's link.
Added By: Alexander Ch (DevExpress Support) at: 4/15/2015 12:18:58 AM Hi,We try discuss additional scenarios in separate posts in order not to overload this thread. Let's continue our conversation in the ticket that you created earlier: T229634 - Need Help in Data Pager Implementation.
Thanks,
Alex