Issue with multiple DataTables on the same pagge
Issue with multiple DataTables on the same pagge
vismark
Posts: 79Questions: 5Answers: 0
I've read in the docs that to have multiple DataTables on the same page, it is enough to assign them the same class and then initialise them with a single statement.
My problem is that i am using the sum() plugin found at this link and the last drawn table set the sum for all the other tables.
Moreover, how can I set different export buttons for different tables?
This discussion has been closed.
Replies
The sample you linked will be applied to every table. If you don't want it to be, you will have to add a table id check where it will exit the function without action if it is not the right table.
As for the export buttons, they should be taking care of themselves. Are you having an issue there?
OK, i solved both proble istantiating them seprately. From the docs i kinda understood there was some kind of automation in this, but i was clearly wrong. Thanks for your help