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

Selecting many columns causes browser to become slow or unresponsive

4 Answers 67 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 10 May 2016, 10:28 AM

With IE (and to a lesser extent also in Chrome) on Kendo UI v2016.1.412, if I click on a column header then extend the selection to many contiguous columns, the selection become slower and slower as I include more columns and sometimes this causes the page to become unresponsive.

This is more evident in more complex pages than the online sample (ie with more formulas, etc).

We noticed that selection of multiple columns triggers the onRender event (which we have NOT overridden in any way in our test code) every time a new col is selected.

Maybe that could be the issue?

 

4 Answers, 1 is accepted

Sort by
0
Andrea
Top achievements
Rank 1
answered on 10 May 2016, 10:35 AM

An additional hint: things get even worse when to keep selecting more columns, you start scrolling horizontally the spreadsheet.

 

0
Alex Gyoshev
Telerik team
answered on 12 May 2016, 06:54 AM

Hello Andrea,

Can you provide a sample that shows the problem? When you select cells, the spreadsheet renders the selected values in a table (in order to allow copying), and the table gets larger depending on your selection. It might slow things down, but we need a way to confirm that this is the problematic issue.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Andrea
Top achievements
Rank 1
answered on 12 May 2016, 02:23 PM

See the attached video and the screenshot inside the zip file. Those two will demonstrate the issue we are facing. Sometimes it shows up at the first 2-3 selection/drags, sometimes some more but when happens this cause the page to become unresponsive.

You can reproduce this issue ( without any custom code ) in your demo on the website ( https://demos.telerik.com/kendo-ui/spreadsheet/index ) both with the demo workbook and our workbook.

0
Alex Gyoshev
Telerik team
answered on 16 May 2016, 02:24 PM

Hello Andrea,

Thank you for the details. The issue is caused when the mouse is dragged outside the spreadsheet area while selecting headers, no need for the extended dragging. We have logged this for fixing, and your Telerik points have been updated as a small token of gratitude.

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