I have my DataTable places inside the second tab and it's not working.. But when i place the DataTable on the first tab, the save to pdf works..
What could be the problem?? Help me please..
I try to add those two functions, but still it didn't work.. the same thing happens, the page just reload..
I wonder if i have a mistake with with my codes.. and also my tools buttons are just text without the pdf file image etc..
here is the initialization of my datatable:
Replies
Allan
I wonder if i have a mistake with with my codes.. and also my tools buttons are just text without the pdf file image etc..
here is the initialization of my datatable:
[code]
var oTblSales = $('#tblSales').dataTable({
"bPaginate": true,
"bJQueryUI": true,
"sScrollX": "500",
"sDom": 'T<"clear">C<"clear"><"H"lfr>tip',
"oTableTools": {
"sSwfPath": "../DataTables/extras/TableTools/media/swf/copy_cvs_xls_pdf.swf",
"aButtons": [
{"sExtends": "xls" },
{"sExtends": "pdf", "sPdfOrientation": "landscape",
"sPdfMessage": "Colombo Merchant Philppines - Sales"
}
]
}
});
[/code]
thank you for your response..