How to add tag inside td and how to make clickable?

How to add tag inside td and how to make clickable?

masterchomastercho Posts: 1Questions: 0Answers: 0

I just start using DataTables, but i want to make rows clickable, i'm getting data with Ajax(json) and in that json its contain image url. I want to put this url into <img> tag and make clickable.

Replies

  • ThomDThomD Posts: 334Questions: 11Answers: 43
    edited October 2015

    Two options for controlling the output in a column are the columns.render and the rowCallback Either one will let you build html that displays in the cell.

This discussion has been closed.