ajax data with html table tag

ajax data with html table tag

vksargsyanvksargsyan Posts: 2Questions: 1Answers: 0

I've got the following error:
Uncaught TypeError: Cannot read property 'column' of undefined ResponsiveDatatablesHelper.createExpandIcon
While trying to load ajax data to datatables. I figured out that it is because in the data there is html

<

table> tag.
How can i avoid this ?

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    you are sending back an entire html table? If not, can we see your code so we can better understand the issue?

  • vksargsyanvksargsyan Posts: 2Questions: 1Answers: 0

    I just used php htmlentities in the back and it's good now

This discussion has been closed.