Hello I have customized export to pdf with header and rodape, plus I need to include showExportPdfDialog for page format selection I would like to sample for this setting.

2 answers

Tanya Gryshko Flexmonster April 25, 2018

Hello, Rafael,
Thank you for your question!
Please check out Customizing toolbar tutorial explaining how you can change Toolbar functionality.
Here is the example showing how to export to PDF with the header: Please note, custom header is set at line 54. Here you should add your own headers, etc.
The code for exportHandler is taken from flexmonster.toolbar.js. The only difference is the custom header. To test the functionality please select Export -> To PDF in Toolbar.
Is this sample helpful?

Rafael Matos April 25, 2018


Thank you Tanya Gryshko.

Please login or Register to Submit Answer