How can I export HTML in a cell using [buttons] excel export

How can I export HTML in a cell using [buttons] excel export

sjw01sjw01 Posts: 45Questions: 21Answers: 1
edited January 16 in Free community support

I have a column which has a html link in it.

json_encode('<a href="">'.$row['name'] . '</a>')

I want this exported to Excel when the user uses the export button.
I have tested and the HTML is not being included in the cell during export.
If I use stripHtml: false - it adds the html link as text in the cell

Is this possible? Do I need to do something special?


  • colincolin Posts: 5,549Questions: 0Answers: 970

    Hi @sjw01 ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.



  • sjw01sjw01 Posts: 45Questions: 21Answers: 1
    Filter by 210214
    Export to Excel
    Link Gone

  • kthorngrenkthorngren Posts: 6,084Questions: 21Answers: 1,347

    Checkout this thread asking the same question:

    It will take some custom code to accomplish. I didn't see any threads where someone actually wrote the customer code. However it wasn't an exhaustive search.


Sign In or Register to comment.