neither Flash nor Html5 excel download works in my project (trying in Chrome or FF && ubuntu/windows)
Problem: the flash excel button appears but downloads empty file the html5 excel button doesn't throw error but doesnt appear
Facts: all other buttons get displayed/working using actual version of Datatable (even nightly html5) html5 buttons in examples work
Setup:
elem.DataTable({
"aaData":ray,
"aoColumns": col,
"destroy": true,
"dom": 'Bfrtip',
"sScrollX": param.tableScroll,
"buttons":[
'copyHtml5', 'excelHtml5'
],
"order": [[ order.row, order.dir.toLowerCase() ]],
"columnDefs": [{
"render": function(data, type, row){
if(type == "display"){
return moment(data).format("L");
}
else{
return data;
}
}
,"targets": hasDate
}]
});
Dependencys: (in this order (require.js)) 'datatables.net', "datatables.net-bootstrap", 'datatables.net-buttons', "datatables.net-jszip", "datatables.net-pdfmake", "datatables.net-vhf_Fonts", 'datatables.net-buttons-bootstrap', 'datatables.net-buttons-html5', "datatables.net-buttons-flash", 'datatables.net-buttons-print
i've no idea what could be the problem i would appreciate every try
Thanks for reading