Is there a way to quickly insert multiple blank rows in the spreadsheet control? The insertRow function is too slow.
For example, Import the Excel file from the attachment into the spreadsheet control for testing. Inserting 1,000 rows is very slow.
1 Answer, 1 is accepted
0
Martin
Telerik team
answered on 15 Oct 2024, 12:06 PM
Hello,
If I correctly understand the issue, it is taking a long time to import the attached file in the Spreadsheet. You can try the Server Import/Export demo to see if it will produce a better result. I am not sure how the insertRow method is involved in the behaviour you are experiencing, so kindly elaborate if I am missing something.
Comparing the performance differences in AddRows between KendoSpreadsheet and SpreadJS:
SpreadJS AddRows:25ms
KendoSpreadsheet AddRows: 33388ms
Martin
Telerik team
commented on 22 Oct 2024, 01:01 PM
Thank you for the provided demos. With the given scenario, the Spreadsheet needs to make a lot of re-calculations due to the amount of rows and columns you have. At this point there isn't something we can provide to increase the performance.