add the export to file functionality in datatables -
how add export file functionality in datatables described here
here basic fiddle 2 rows of test data https://jsfiddle.net/sxqeauaz/
am correct should add libraries js , css, , following piece of code
$(document).ready(function() { $('#example').datatable( { dom: 'bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ] } ); } );
i have done in below fiddle not work. https://jsfiddle.net/sxqeauaz/1/
can advise how csv, pdf, copy...etc buttons work? way describe above simple work. maybe reading of documentation not best. appreciate advise on matter.
Comments
Post a Comment