How to add tag html in Ajax sourced data
How to add tag html in Ajax sourced data
I need to add tag html in td all colunm it working but column insert tag a not working
$(document).ready(function() {
$('#example').DataTable( {
"ajax": "api/all",
"columns": [
{ "data": "du_id" },
{ "data": "site_id" },
{ "data": "status" },
{ "data": "submission_end_time" },
{ "data": "region" },
** { "data": '<a href="'+"id"+'">Action</a>' }**
]
} );
} );
This question has an accepted answers - jump to answer
Answers
You want to use the rendering feature
it working thankyou very much