What should I do if my data is string of html?
What should I do if my data is string of html?

Hi,
one of my data in datatable is a string of html like this:
"div class=tooltip-permission>Ajay Malik<span class=tooltiptext>Publish</span></div></br>"
Then when is imported to my table, it's still a string of html instead of a html object....
What should I do to fix this, and that column can display correct html content?
Thanks!
This discussion has been closed.
Answers
That's a string of html in description like this....
div class=tooltip-permission>Ajay Malik<span class=tooltiptext>Publish</span></div></br>
Hi @vickershhh ,
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.
Cheers,
Colin
It looks like in both posts you have that the leading
<
in front of thediv
tag is missing. If this doesn't help then as Colin says we would need a test case.Kevin