How to export a table along with the title and the footer of the table

How to export a table along with the title and the footer of the table

sathishsathish Posts: 6Questions: 0Answers: 0
edited June 2011 in TableTools
Hi all ,I used tabletools to create a dynamic table with good features like exporting the table as PDF,Xl,CSV.But while exporting the table it just Exports the table without the title and footer,where i used the function "nFooterCallback" for calculating the footer total.Can someone help me to export the table along with the title and footer total...
[code]

$(document).ready( function () {
$('table#example').dataTable( {
"iDisplayLength": 5000,

"oSearch": {"sSearch": ""},
"sDom": 'T&f',

"fnFooterCallback": function (nRow, aasData, iStart, iEnd, aiDisplay ) {
$($(nRow).children()).remove();

if(iEnd > 0) { // if search result is empty do nothing

for(var i=0;i
This discussion has been closed.