Thanks for pointing that out! I thought I had gone through all of the examples before the 2.1.2 release, but I clean missed that one. The issue is not with TableTools itself, but rather the example: the fundamental issue (should yourself or anyone else be interested) was that sTag must be defined for the buttons now, as this tells TableTools what HTML element to create for the button - since it wasn't defined in my example 'undefined' was the result!
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.
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