Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

ExportTo with destinationType plain does not display captions

Answered
leandro f asked on September 24, 2024

Hello. We are using the `exportTo` method with `desdtinationType = plain` to obtain the HTML and create a new tab with this report.

We noticed that the captions are not displayed when we print this new tab, only after selecting the "Background graphics" option, unlike the behavior when we use the `print` method, which always displays the captions.

Is there an option for this `plain` to generate the same HTML as `print`, without the need to select the "Background graphics" checkbox?

 

JS Fiddle:

https://jsfiddle.net/e80fgtjk/

 

 

1 answer

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster September 25, 2024

Hello, Leandro!

Thank you for reaching out to us.

Kindly note that the built-in browser print feature may require some additional configurations on the browser side, which may vary from browser to browser and from version to version.
That's why we recommend, if possible, to stick to our native print() or exportTo() API calls, which are doing necessary preprocessing under the hood to print Flexmonster tables and charts.

Hope it helps.

Kind regards,
Solomiia

Please login or Register to Submit Answer