Add a class using sButtonClass ( http://datatables.net/extras/tabletools/button_options#sButtonClass ) and then style that class as appropriate in your CSS.
There actually isn't an API to enable and disable the buttons at the moment. Thinking about that, I can hardly believe it myself, that that's the case... I'll add it soon.
Until then, you'd just use logic in your fnClick function to exit before taking action if required.
Replies
Allan
How about different colors for different custom buttons? For example, NEW with blue background and DELETE with green.
Allan
How can these buttons be enabled / disabled?
Until then, you'd just use logic in your fnClick function to exit before taking action if required.
Allan