Pending Review
Last Updated: 24 Apr 2019 12:29 by ADMIN
Andrew
Created on: 03 Apr 2019 15:17
Category: Grid
Type: Feature Request
2
Endless Scrolling and Grouping causing performance issues with large groups

 

When endless scrolling and grouping is enabled on the KendoUI grid, collapsing large groups causes the grid to load ALL the hidden detail rows into the DOM.

 

This takes a very long time for the grid to do, as well it violates the whole point of a paging system. (ie I only want you to load X records at a time). Afterwards the performance of entire website (including the grid) will be very poor since potentially thousands of rows have been loaded into the grid and then immediately hidden. Additionally, these rows do not add any value to the user, since they are all hidden anyways.

 

When a category is collapsed, the grid should NOT add any new rows for that category to the DOM.

 

I have included a sample that demonstrates the performance issues.

5 comments
ADMIN
Angel Petrov
Posted on: 24 Apr 2019 12:29
Hello,

Please accept my apologies for the misunderstanding. Indeed the current thread is marked as a feature request. We will examine it thoroughly. However I can not promise that we will include such a functionality for the endless scrolling.

Regards,
Angel Petrov
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.
Andrew
Posted on: 17 Apr 2019 14:47

It is my understanding that this thread is a "feature request". When I submitted a bug I was instructed to submit a feature request here. Is there somewhere else I should be submitting this request?

 

ADMIN
Angel Petrov
Posted on: 17 Apr 2019 14:24
Hello,

In the current implementation this can not be achieved since it will require a change in the way the grid functions and that would be a breaking change. However if you open an official feature request we will examine the case and if possible implement an option that would just collapse the group row instead of rendering them.

Regards,
Angel Petrov
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.
Andrew
Posted on: 10 Apr 2019 14:28

Hi Angel,

 

I am not sure I understand the implementation challenge. I believe I understand the need to fetch all of the group data from the data set to collect enough data to render a "page worth" of rows into the grid, which is fine. What we are requesting is to not render (add to the DOM) all the hidden rows for the collapsed group.

 

What is currently happening:

#1) User loads the grid, add <pagesize> rows to the DOM

#2) User collapses a group, add <groupsize (which could be thousands)> hidden rows to the DOM

 

I would like to have an option to prevent hidden rows in collapsed groups from being adding to the DOM (they will still need to be loaded from the server).

 

Can you elaborate for me on why this is not feasible? I am not sure how a hidden record vs no record will affect scrollbar.

 

Thanks!

 

 

 

 

ADMIN
Angel Petrov
Posted on: 10 Apr 2019 10:40
Hi,

I completely understand your concerns in regards of this scenario however this was the design decision when implementing the endless scrolling. The problem with not extracting the entire group is that there are cases where a group large enough is collapsed and then no scroll will appear, by design in such cases a new subset of items should be requested. If you have an alternative approach in mind I suggest opening a feature request. That way we will examine the requirements and if possible improve the functionality for a future release.

Regards,
Angel Petrov
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.