Slowness at selecting rows when page size is large

1 Answer 69 Views
Grid
Iuliana Maria
Top achievements
Rank 1
Iron
Iuliana Maria asked on 04 Oct 2021, 08:44 AM

Hi,

We use editable grids with multiple selection that sometimes have a page size of 500 or larger. In this case, when selecting another row when one or more rows are already selected, it takes few seconds to execute the operation. Is there anything that can be done to make this work faster?

Thanks,

Iuliana

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 07 Oct 2021, 06:06 AM | edited on 19 Nov 2021, 09:05 AM

Hi Iuliana,

Based on the provided information, what I could suggest at this point is to reduce the pageSize. Basically, the more HTML elements that have to be rendered by the Angular framework, the worse the performance will be. This is valid for all browsers. In general, we follow the best practices when it comes to performance optimization for the Kendo UI for Angular components. But we are also limited by the framework itself and its specific functionality which relies on zone.js heavily.

There are multiple optimization techniques available for Angular applications outlined on this page. Indeed, when it comes to a Kendo UI for Angular Grid-related performance optimization technique the most optimal one is to use paging or virtual scrolling with a smaller pageSize. Both approaches limit the number of rendered items at once by Angular and thus optimize the performance.

Please try setting the pageSize to 50 and check the described behavior again. In case the issue persists, could I ask you for a runnable demo, so that we can debug it on our end and be able to provide a more suitable suggestion. Thank you in advance.

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/.

Tags
Grid
Asked by
Iuliana Maria
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or