TotalCount

1 Answer 318 Views
Grid
Peter
Top achievements
Rank 1
Iron
Iron
Peter asked on 10 Aug 2022, 10:50 AM

Hi, Is it possible disable totalcount if pagable is true? or  localizate totalcount?  1- .. OF .. ITEMS

I don't want show total items in datasource becasue I have more than 100000 rows and it's too slow.

 

Thanks for answer

Peter

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 10 Aug 2022, 04:07 PM

Hi Peter,

The Grid has to know the total item count, otherwise it can't render its pager navigation buttons. For example, users will not be able to go to the last page.

It is possible to localize the pager UI. The relevant localization key in this case is Pager_Display.

Localization will not solve the performance problem. In your case, use the OnRead event to data bind the Grid. This will allow you to pass only a chunk of the items at a time.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Peter
Top achievements
Rank 1
Iron
Iron
commented on 11 Aug 2022, 09:18 AM

Thank you for answer. it hepls me.
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or