This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
DataTables
Watch
1
Star
0
Fork
0
You've already forked DataTables
mirror of
https://github.com/DataTables/DataTables.git
synced
2025-01-19 12:52:11 +01:00
Code
Issues
Releases
Activity
DataTables
/
.datatables-commit-sync
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
New - API: plugin(), plugin.register() and plugin.deregister() methods - When working with plug-ins such as TableTools, there is no clearly defined way at the moment to get at the plug-in instance, with each doing it its own way (TableTools as a static function, while Scroller attaches itself to the settings object and KeyTable is its own intialiser, amoung others...) so I'm introducing these methods to unify this. - plugin() is used by DataTables users to get their plugin instance, for example `table.plugin('tabletools')` would get the TableTools instance allowing full access to its API. - plugin.register() and plugin.deregister() are called by the plug-ins when they attach themselves to a DataTable. The 'extras' will all need to be updated to use this new method.
2013-10-11 17:19:10 +01:00
730e2b88377acb44e9db177e107b9d42ac8bf63f
Reference in New Issue
Copy Permalink