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 PandyaRank #166 · 14.3K reputationPosted Feb 5, 2018, 8:46 PM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts