Is there a way to quickly insert multiple blank rows in the spreadsheet control? The insertRow function is too slow.

1 Answer 51 Views
Spreadsheet
Top achievements
Rank 1
asked on 11 Oct 2024, 01:53 AM | edited on 12 Oct 2024, 02:17 AM

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

Sort by
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.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Top achievements
Rank 1
commented on 17 Oct 2024, 10:42 AM

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.

Tags
Spreadsheet
Asked by
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or