datatables hyperlink in td
$(document).ready(function () {
$('#example').DataTable({
"ajax": "http://127.0.0.1:8080/api/resources/",
"columns": [
{
"data": "name",
"fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
$(nTd).html("<a href='http://127.0.0.1:8080/media/" + oData.name + "'>" + oData.name + "</a>");
}
},
{"data": "brief"}
]
});
});