Why can't other buttons like save and copy do not work on other datatables? (print button works)
Why can't other buttons like save and copy do not work on other datatables? (print button works)
One of my page contains a datatable and all buttons work fine.
But on other pages that contain datatables, buttons doesn't work at all (except for print button).
i inspected the element and it returns 'Failed to load resource: the server responded with a status of 404 (Not Found)'.
here's my code :
$('#list').DataTable( {
"dom": 'T<"clear">lfrtip',
"tableTools": {
"sSwfPath": "../swf/copy_csv_xls_pdf.swf",
"aButtons": [
"copy",
"print",
{
"sExtends": "collection",
"sButtonText": "Save",
"aButtons": [ "csv", "xls", "pdf" ]
}
]
}
});
i thought maybe i initialized the path wrong so, i tried copying the swf folder that contains the swf file on every folder of my project but still doesn't work .
please help ..thank you ..