Need a special offer?Find out if your project fits.
+

showExportPdfDialog

Answered
Rafael Matos asked on April 23, 2018

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.

12 answers

Public
Tanya Gryshko 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.
Public
Rafael Matos July 16, 2018

Hello, Tanya Gryshko, when the graphical pdf is generated it does not display the header.

Attachments:
Capturar2.JPG

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster July 17, 2018

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 
 

Public
Rafael Matos July 17, 2018

It is quite critical,
It hinders the understanding of the user without knowing the parameters considered for printing.

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster July 18, 2018

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

Public
Rafael Matos July 23, 2018

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?

Public
Tanya Gryshko Tanya Gryshko Flexmonster July 24, 2018

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

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 13, 2018

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

Public
Rafael Matos August 14, 2018

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.

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 14, 2018

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

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 28, 2018

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

Please login or Register to Submit Answer