I have run the debugger on my specific instance (epoqaj) of dataTable where I build my data from an ajax request and then format that data for dataTable using the following code:
The object returned from this function is then passed directly into dataTable. I am just beginning to implement the Table Tools because of a request for export and have never had this feature working. The links appear (although not as buttons) and the print button does something but does not include the print dialog (at least not in chrome). I have checked all of the calls and note that none have 404s.
Can anyone help me get my exports working?
Please and thank you,
Michelle
function forDataTable(jsonArray){ var cols = getCols(jsonArray); var tableCols = new Array(); for(c in cols){ tableCols.push({"sTitle":cols[c]}); } var dataArray = new Array(); dataToArray(dataArray, jsonArray, cols); return { "aaData": dataArray, "aoColumns": tableCols, "bDestroy": true, "sDom": 'T<"clear"><"H"lfr>t<"F"ip>', "oTableTools": { "sSwfPath": "/mold_demo2/scripts/TableTools/swf/copy_csv_xls_pdf.swf" } } }
The object returned from this function is then passed directly into dataTable. I am just beginning to implement the Table Tools because of a request for export and have never had this feature working. The links appear (although not as buttons) and the print button does something but does not include the print dialog (at least not in chrome). I have checked all of the calls and note that none have 404s.
Can anyone help me get my exports working?
Please and thank you,
Michelle