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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -