Export to PDF breaks the page.

Hi webix team,
I’d like to ask if you know about the issue, that if you want to export datatable with a big amount of rows(2000 in this case), the page just frozen, and browser crashes. Do I need to put any limitations or something?

Thank you.

Hello @Andy,
As far as i can see, it’s working correctly:
Code Snippet (It takes about few seconds in the basic example)
I’m not sure, but the problem may be related to the initially data.
Can you share the original dataset ( or any other dataset for which the performance problem can be reconstructed ) and config which you are using (using our Snippet Tool)?

Hello @annazankevich ,
Thank you for the response. I saw that is works with only one column, but in my case data is much bigger, so just frozen page after hitting toPDF button.

https://snippet.webix.com/i57qt2mf

Hello @AndyT,

Yes, there is a performance problem with this amount of data.
Unfortunately, so we can’t provide a solution from our side - the performance of Webix export to PDF depends on PDF.js library.

As an option, we can suggest only move export processing to the backend in order to not affect the client-side (via a third-party solution).

If the data for export must be taken from the client, you can get the JSON data via datatable.serialize() and then send to the server.