Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

How to edit the title of the HTML export

Yousif Ahmed asked on May 14, 2019

Hi there,
We have been testing the various export options and have noticed that when exporting to HTML, the resulting HTML document always has a fixed title of ‘Flexmonster Pivot Table’ and does not use the file name – is there a way to customise this title? I cannot see a way of doing it from the API documentation. I have tried editing the html in the callback handler passed to exportTo() but this has no effect.
Kind Regards,

1 answer

Vera Didenko Flexmonster May 14, 2019

Hello, Yousif,
Thank you for your question.
Our team agrees that customizing the title of the HTML document via a parameter would be a nice feature to have.
We have added this request to our backlog.
Meanwhile, the desired output can be achieved via the callbackHandler.
If the destinationType parameter is set to plain, then you can modify the data as needed and then write the result to a file. 
We have prepared a JSFiddle example for illustration.
Please let us know if this works fine for you.
We are looking forward to hearing from you.
Best Regards,

Please login or Register to Submit Answer