Set the total when server paging is enabled

0 Answers 70 Views
DataSource wrappers (package) Grid wrapper
jingjun
Top achievements
Rank 1
jingjun asked on 06 May 2022, 10:59 AM

Hi,

  When server paging is enabled, in addition to using the options in transport-read to set the total, are there any methods like 'dataSource.data()' to set the total?

Plamen
Telerik team
commented on 06 May 2022, 02:04 PM

Not quite sure if this is what you need but the dataSource has a total method as described here - https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/total#total.

If the read is not triggered after the update we could trigger it with the read method - https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/methods/read.

hope this information will be helpful. If your scenario is somehow different please elaborate it a little bit so we could be more helpful with a possible solution.

No answers yet. Maybe you can help?

Tags
DataSource wrappers (package) Grid wrapper
Asked by
jingjun
Top achievements
Rank 1
Share this question
or