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,//need to write this line otherwise it wil throw an error like "cannot reinitialize data table"
- paging: false,
- searching:false,
- data: desired,
- columns: [
- { title: "File Name",visible:true,"render": function ( data, type, row ) {
- return '' + data + '';
- }},
- { title: "Base64",visible:false }
- ]
- } );
Manav PandyaPosted Feb 6, 2018, 1:46 AM