pivot.toPDF (html tags, number format...)

Hi,

webix.toPDF(myPivotTable) => i have a PDF with html tags in the headers (the headers are changed dynamically via onBeforeRender), the numbers are not formated like in the pivot ( format set by the same onBeforeRender…).
I tried the option { filterHTML : true/false) but same result.

Should i use exportPNG ?

Our webix.toPDF() method is based on the PDF.js. It can process the plain data (number/date format can be applied additionally with a template) and then render the corresponding datatable regardless of the source view.

In Pivot, columns are generated automatically, so if you need to customize them for export, you can use the sameonBeforeRender event to create the necessary configuration:

http://webix.com/snippet/ef477996

Af for filterHTML - unfortunately, I can confirm the issue, it will be fixed in the nearest release. But for now, the only way to overcome this is to create a different header for export inonBeforeRender.