Custom Button on TableTools renders button element as (see live example)
Custom Button on TableTools renders button element as (see live example)
rgvcorley
Posts: 29Questions: 0Answers: 0
This is the HTML generated for the button in the live example:-
Copy to div
The live example is here:- http://datatables.net/release-datatables/extras/TableTools/plug-in.html
Copy to div
The live example is here:- http://datatables.net/release-datatables/extras/TableTools/plug-in.html
This discussion has been closed.
Replies
What I've done in TableTools 2.1.2 is to introduce a new object called 'TableTools.buttonBase' which provides defaults for all of the button parameters TableTools knows about. The best way to create a button plug-in for TableTools is thus to extend that object, which I have now done in that example.
Regards,
Allan
Note that you've updated the actual code on the example but the code displayed on the page is still the old version.
Allan