buttons problem

buttons problem

rTraderrTrader Posts: 2Questions: 2Answers: 0

first of all data table is a great plugin.
I have a problem when using buttons extensions only when refreshing the page.
I get an error dataTables.buttons.min.js:17 Uncaught Unknown button type: print.
I use this JS files: "~/Scripts/local/dataTables.buttons.min.js",
"~/Scripts/local/buttons.html5.min.js",
"~/Scripts/local/dataTables.colReorder.min.js",
"~/Scripts/local/buttons.semanticui.min.js",
"~/Scripts/local/buttons.colVis.min.js",
"~/Scripts/local/buttons.foundation.min.js",
"~/Scripts/local/buttons.print.min.js"
and my table code is :
table.DataTable({
dom: 'lfBrtip',
buttons: { buttons: ['copy', 'excel', 'pdf'] },
buttons: true, .....
can anyone help me sort the prooblem ??

Answers

  • allanallan Posts: 61,627Questions: 1Answers: 10,090 Site admin

    Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.

    Information on how to create a test page, if you can't provide a link to your own page can be found here.

    Thanks,
    Allan

This discussion has been closed.