Paging without filter

3 posts, 0 answers
  1. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 11 Jan 2013 Link to this post

    I'm trying to figure out a way to have a RadGridView with paging, but NOT have the RadGridView filter based on the page: but simply jump to the page. And the page count be based on the total number of displayed items (based of course on the size of the window).

    There's no happy number for 'items on a page' that I can choose that actually work for everybody, with their different resolutions and such. And letting them set it just makes it more complicated. I'm really just looking for a control that's a lot like the RadDataPager, but just tracks and controls the RadGridView's current top-shown record.

    Or, alternatively, the "Pager" control could just let you jump to sections based on the first letter of the items. Like, A, B, C D, etc.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 14 Jan 2013 Link to this post

    Hello,

    The paging is a simple process. You click the next page button and the next <page_size> number of records are set as the ItemsSource of the GridView.  It does not know about columns, rows and so on. Everything happens through the IPagedCollectionView interface. You can find details about the features of the DataPager in our documentation.
     
    Although there is not an option to automatically control the page size based on the available space, you could calculate this space yourself and initially assign the appropriate PageSize based on the different resolutions.

    I am not sure what do you mean by "to track and control the RadGridView's current top-shown records", would you please clarify?

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Jerome
    Jerome avatar
    87 posts
    Member since:
    Aug 2010

    Posted 25 Jan 2013 Link to this post

    I was looking for RadCollectionNavigator. And I found it!
Back to Top