Can we Import multiple DataTable in to pdf using tableTools?
Can we Import multiple DataTable in to pdf using tableTools?

Please let me know can we export the multiple data table into the pdf in tableTools.
This discussion has been closed.
Please let me know can we export the multiple data table into the pdf in tableTools.
Answers
I am using like this but I am getting the only first table record
"aButtons": [
{
"sExtends": "pdf",
"sButtonText":"",
"sButtonClass":"mainexporttopdf",
"sFileName": reportName+".pdf",
"sCharSet": "utf8",
"fnClick": function( nButton, oConfig, flash ) {
var a = TableTools.fnGetMasters();
var s = '';
// var finl= "title:"+ this.fnGetTitle(oConfig) +"\n";
var finl= "";
for (j = 0; j < arr.length ; j++) {
//s = "\n"+arr[j]+"\n";
s = "title:"+ a[j].fnGetTitle(oConfig) +"\n"+
"message:"+ oConfig.sPdfMessage +"\n"+
"colWidth:"+ a[j].fnCalcColRatios(oConfig) +"\n"+
"orientation:"+ oConfig.sPdfOrientation +"\n"+
"size:"+ oConfig.sPdfSize +"\n"+
"--/TableToolsOpts--\n" +
a[j].fnGetTableData(oConfig)+
"--/TableToolsOpts--\n" ;
finl+=s;
}
//console.log(finl);
this.fnSetText(flash, finl);
}
}
]