Link on datatable

How can I add a anchor tag on TR on datatables?

You can’t. It is not allowed by HTML rules. Use custom click handler for your row:

$('tr.some-row').on('click', function () {
  // do something when row clicked
});