Extending base datatables features
Extending base datatables features
Hello,
I would like to extend datatable behaviour by adding some code to initialization stage. I'm using this behavioru iniside multiple projects, so i would like to do this in "extension manner" (in separate .js file).
How to bind to "initialize" event so that my code would be called for every instance of datatable? During script processing none of the instance will exists so where to bind? Is there any "global" handle that i can bind to?
This question has an accepted answers - jump to answer
Answers
Listen for the
init
event. That is what the plug-ins do - e.g. for Buttons.Allan