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.
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.
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.