Grid count being set to "undefined" on cancel event.

1 Answer 14 Views
Grid Toolbar
Narasimha
Top achievements
Rank 1
Narasimha asked on 05 Feb 2024, 10:11 AM

I have a kendoGrid, on initial load I am able to see the pagination being set and datasource.total has some value:

On Initial load:

When I click on the default "cancel" option from my toolbar, the total is "undefined".:
OnCancel:

 

I can see the data in my grid, but the pagination footer displays "No items to display"

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 08 Feb 2024, 07:37 AM

Hello, Narasimha,

Could you please let me know if you have set serverPaging to true? If that is the case, you will need to set the dataSource.schema.total field in order for the paging to work properly.

If the above information does not help to resolve the problem, kindly provide a Dojo example that reproduces it so that I can investigate further.

Regards,
Martin
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Grid Toolbar
Asked by
Narasimha
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or