Hi there,
I am forming table using Ajax,giving hyperlink on one column,onclick of that column i need to call one function.How to call that function while forming hyperlink itself.
- $('#attachmenttable').DataTable( {
- retrieve: true,
- paging: false,
- searching:false,
- data: desired,
- columns: [
- { title: "File Name",visible:true,"render": function ( data, type, row ) {
- return '<a href="javascript:void(0)">' + data + '</a>';
- }},
- { title: "Base64",visible:false }
- ]
- } );