Open danielsbarros opened 11 months ago
When initializing a DataTable using ajax and buttons at the same time, the buttons never show up on screen.
var table = $('#example').DataTable( { ajax: "data.json", buttons: ['copy', 'excel', 'pdf', 'print', 'csv'] } );
See this example. You need the dom parameter.
dom
When initializing a DataTable using ajax and buttons at the same time, the buttons never show up on screen.