This is a migrated thread and some comments may be shown as answers.

Paging Totals in RadGrid

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 25 Oct 2018, 11:59 PM

Hi

I have a RadGrid with AllowPaging = "True" and PageSize="20", On the OnItemDataBound method I make some rows (e.Item) Display = false.

However the paging totals and the items per page are now incorrect. The totals do not take into account the fact that some rows are now invisible and the number of items per page which was 20 now does not have that amount because some are invisible.

My question is how do I achieve the correct total and how do I get 20 items or rows a page

1 Answer, 1 is accepted

Sort by
0
Attila Antal
Telerik team
answered on 29 Oct 2018, 04:01 PM
Hi Rob,

Please check out the following forum thread addressing this scenario: Page and row count not in sync after changing datasource. You might also check the Programmatic Pager Customization and Custom Paging documentations to learn more about customizing the Pager and/or Paging.

I hope this will prove helpful.

Kind Regards,
Attila Antal
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Rob
Top achievements
Rank 1
Answers by
Attila Antal
Telerik team
Share this question
or