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

Performance observations

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaspreet
Top achievements
Rank 1
Iron
Veteran
Jaspreet asked on 26 Mar 2021, 02:39 PM

hi,

 

We have downloaded a basic virtual scroll grid from kendo’s official website (https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/virtual/) to make sure custom code is not causing it. Additional columns (25+) +) were added to it and applied coloring to alternate rows with different colors using the rowClass method that is mentioned in the documentation.

Issue was present in the kendo grid for this scenario.

Please suggest if this is expected behavior or we are missing some configuration here.

PFA the code used for this.

Regards,

Jaspreet

 

 

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 30 Mar 2021, 01:18 PM

Hi Jaspreet,

Thank you for the provided details.

The reason for the reported behavior is that on (pageChange) event, the Grid loads a new set of data which contains some of the already loaded items and some new items. In the demonstrated example, while the data is being fetched, the user scrolls the old data in the Grid, which causes the undesired behavior. Indeed, that is according to the implementation design of the virtual scrolling feature. Using that approach would be recommended when there isn't a large delay for fetching the new data set. Respectively if it take some time in order to fetch the new data then the undesired effect will be more visible.

I understand that this may be disappointing, but currently, there isn't a supported way that this effect could be completely avoided other than reducing the time needed to fetch the data.

I would also like to add, that we have a plan to add a new loading indicator for the Grid, which should solve the reported undesired behavior when using virtual scrolling. Basically, once it is available the functionality would be similar to the virtual scrolling feature of the Telerik UI for Blazor Grid:

https://demos.telerik.com/blazor-ui/grid/virtual-scrolling

However, at this point, we are unable to provide a fixed deadline as to when it will be released as it depends on multiple factors such as workload, availability of resources etc.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jaspreet
Top achievements
Rank 1
Iron
Veteran
commented on 21 Jun 2021, 01:55 PM

hi Martin,

Is there any upcoming release that will handle this performance issue?

Regards,
Jaspreet
Martin
Telerik team
commented on 23 Jun 2021, 09:22 AM

Hi Jaspreet,

Due to the work on the Gantt component, I am afraid that the discussed Grid improvement will not be included in the next official release.

Regards,
Martin
Progress Telerik
Tags
Grid
Asked by
Jaspreet
Top achievements
Rank 1
Iron
Veteran
Answers by
Martin
Telerik team
Share this question
or