Demo shown how to export datatable rows into format CSV, Excel, PDF.
--Create new DataTable with custom properties! var newDT1 = JSON.parse(JSON.stringify(_rasd_dataTableProperties)); --Your custom preferences. If no chanege tehn don't add any. newDT1.dom='Bfrtip'; newDT1.buttons=[ 'copyHtml5', 'excelHtml5', 'csvHtml5', 'pdfHtml5' ]; -- newDT1.destroy = true; $("#B10_TABLE").removeClass( "rasdTableN" ); var xTable1 = $("#B10_TABLE").DataTable(newDT1);
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Demo shown how to export datatable rows into format CSV, Excel, PDF.
Last edit: Domen Dolar 2022-12-15