I would like to insert link to my editables it's possible?
columns: [ { data: '<a href=\"preview.php?ID=1\">'+persone.notti_fuori+'</a>', className: "dt-center" },
Yes - use columns.render as a function.
columns.render
Allan
Wow Thanks, i'm starting to understand a litlle
$('#example').dataTable( { "columnDefs": [ { "targets": 0, "data": "download_link", "render": function ( data, type, full, meta ) { return '<a href="'+data+'">Download</a>'; } } ] } );
It looks like you're new here. If you want to get involved, click one of these buttons!
Replies
Yes - use
columns.render
as a function.Allan
Wow Thanks, i'm starting to understand a litlle