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

Aggregates in virtual scrolling or pagination

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 1
Piyush Bhatt asked on 20 Oct 2014, 11:42 PM

We are using virtual scrolling in our grid. And the Grid allows InCell editing to users. Now when user updates the value in a cell, we immediately want to display the Total in the footer. We cannot refetch all the data for the page for each user edit. 

The client side data has only as many rows as the pagesize() - so calculating client side total is not accurate.

We can calculate the total on the server side but we need some function that only gets the Aggregates in the result and updates the footer portion - we cannot afford refetch the whole page data.

Please tell us what are our options.

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 22 Oct 2014, 08:41 AM
Hi Piyush,

The idea behind virtual scrolling is to load only the data that is currently being displayed. This is why calculating aggregates for all the data is not supported as the data is actually not available on the client. Furthermore please note that editing mode is also not supported for the Kendo UI Grid with virtual scrolling, as the edited and newly added rows are not positioned correctly within the virtualized records.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Piyush Bhatt
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or