Last Updated: 18 Dec 2018 09:31 by ADMIN
Created on: 17 Dec 2018 12:02
Category: Kendo UI for Angular 2+
Type: Feature Request
Speed up autoFitColumns so that the browser becomes responsive

On grid with 50 rows and 100 columns, autoFitColumns method freezes browser and annoying "Page unresponsive" is shown to the user. Please make function responsive.

Based on high Chrome CPU usage I think method could be ran in background thread. Probably Web workers would be appropriate for this task. This may help.

1 comment
T. Tsonev
Posted on: 18 Dec 2018 09:31

The autoFitColumns method performance is not ideal and it should be improved.

A web worker is not applicable in this scenario, as we need access to the DOM in order to measure the content of the table cells.

Instead, we plan to address the issue by batching DOM updates and applying them once we have measured all columns.
This is currently not the case and each column is resized on its own.

Best Regards,
T. Tsonev
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.