When I set-up a custom title like the following:
$col["title"] = "<span title='POP-UP DESCRIPTION HERE'>Line 1<br>Line 2</span>";
The actual <span> text gets exported as the Excel Column Header.
Is there a way to export a proper title? Or strip-out the HTML portion?
I'm hoping there is an alternative – but I used the following approach (based on a similar response to another thread).
This allows you to specify both options at the column level but only add one function.
$col["title"] = export_title($opt1="EXPORT_HEADING", $opt2="<span title='pop-up-title'>REPORT HEADING</span>");
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!