Low performance after paste large data

Tags: #<Tag:0x00007efc6505acb8> #<Tag:0x00007efc6505a218>

Hello!

hansontable-paste-data-demo

When I paste large data to a small table, the table will add new rows and spend long time.

But when I paste same data at second time, it is very quick.

I think the reason is that table does not need to add new rows.

Is there any way to update the performance on pasting at first time.

Hi @xin.sun.zh

Thank you for contacting us. Yes, the reason why it’s a bit slower for the first time is the fact, that there is a large amount of new rows/columns that have to be generated. The loading time will vary based on the data size you are pasting

If you’d like to improve general performance, please take a look at our guide here: https://handsontable.com/docs/javascript-data-grid/performance/

Hi @adrian.szymanski

Thank for your reply. I will read the guide. It’s very useful.

Hi @xin.sun.zh

If you would need help with anything else, let me know.