Export to PDF Question

Dear Webix team,

I’d like to ask if there is a way to export data to pdf asynchronous so that the site won’t block.

I have a datatable with 6 columns and one column called message can have variable string size.

Exporting this kind of datatable with webix.toPDF on latest webix takes over 2minutes on an i7 5500U CPU for 1182 rows of data.

Best regards

Hello,

Webix uses PDFJS library for creating PDF documents on the client side, which is not very quick. If they introduce streaming API in future, then it will be a great breakthrough in speed.

On the positive side, webix.toPDF() method returns a promise that resolves after export is complete, so you can code like: webix.toPDF(data).then(function(){..}).