Get total records in fnClick:
Get total records in fnClick:
Shiroga
Posts: 2Questions: 1Answers: 0
I have this code, i would get the total number of records, how i can do?
tableTools: {
"sSwfPath": window.STATIC_BASE + cripts/datatable/swf/copy_csv_xls_pdf.swf",
"aButtons": [ "pdf", "csv",
"print",
{ "sExtends": "text",
"sButtonText": "TotalRecords",
"fnClick": function () {
var record_count = this.fnSettings().fnRecordsTotal();
alert(record_count);
}
}
]
}
This discussion has been closed.