This is the code I used to create a data table with export functions.
oTable = $("#tblSearch").DataTable({ "jQueryUI": true, "sPaginationType": "full_numbers", "iDisplayLength": 10, "bSort": true, "aaSorting": [[0, "desc"]], "lengthMenu": [[5, 10, 25, 50], [5, 10, 25, 50]], "autoWidth": true, "scrollCollapse": true, "dom": 'T<"clear">lfrtip', "tableTools": { "sSwfPath": "../../swf/copy_csv_xls.swf", "aButtons": ["xls"] } });
Export works in my local, but when I deployed to the server, the button does not appear.
source share