Custom Paging and Exporting (Page Size)

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    12 posts
    Member since:
    Sep 2013

    Posted 30 Jan 2017 Link to this post

    We are using the RadGrid and it's custom paging abilities.

    We have a grid where we only bind the "PageSize" (typically 10) to the grid and set the Virtual Item Count equal to the total number of items. (in this case, 897).

    When we export to Excel, we have to set the "Page Size" property on the Grid (not the master table view) to the total number of items, rebind the grid to the full dataset and then allow the export.  Otherwise, it will only export the current page.

    We've noticed that after doing that, in the PageSize dropdown, there are items for the default (10, 20, 50) as well as the item number i exported which is 897.

    How can i prevent that value from being saved into the PageSize dropdown.

  2. Rumen
    Rumen avatar
    14075 posts

    Posted 02 Feb 2017 Link to this post

    Hello Shawn,

    Would it be possible to provide a screenshot of what you'd like to achieve? A simple runnable project with a dummy DataSource which I can test to reproduce your scenario would be very helpful too.

    Thank you!

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top