showExportPdfDialog

Resolved

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

Public
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: https://jsfiddle.net/flexmonster/m7e74ay4/93/. 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?
Regards,
Tanya

Public
Rafael Matos April 25, 2018

 

Thank you Tanya Gryshko.

Please login or Register to Submit Answer