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.
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
Thank you Tanya Gryshko.
Hello, Tanya Gryshko, when the graphical pdf is generated it does not display the header.
Hello Rafael,
Thank you for your feedback. Currently, the headers feature is only available for the grid table and not supported for the charts.
Please let us know how critical this feature is for you.
Regards,
Dmytro
It is quite critical,
It hinders the understanding of the user without knowing the parameters considered for printing.
Hello Rafael,
Thank you for your feedback. We are going to add the necessary update which should allow exporting headers when exporting charts to the PDF, ETA Aug 13.
Regards,
Dmytro
Hello Dmytro,
How much pivot grid_charts is configured, the header is rendered together with grid and the graph in pdf, could provide an example to export this header along the graph?
Hello, Rafael,
Thanks for the update!
Yes, exporting headers does work with the grid_charts mode. The update allowing to export headers from charts mode will be released on August the 13th.
Regards,
Tanya
Hello Rafael,
We are glad to inform you that new Flexmonster version has already been released. The export headers for PDF chart export are now available. You are welcome to try it.
Regards,
Dmytro
Hello Dmytro Zvazhii,
I am using the same head to generate the same pdf. In example modelo001 that is only the graphic, it overlaps the header.
In the example of modelo002 which is the pdf with the graphic and the table the print leaves normal.
Hello Rafael,
Thank you for your feedback. Yes, you are right. It looks like the issue still exists. We will add the necessary fix for the header positioning in the nearest minor release ETA Aug 27.
Regards,
Dmytro
Hello Rafael,
We are glad to inform you that the version with the fix for header positioning is already available. You are welcome to update the component. Let us know if everything works fine for you.
Regards,
Dmytro