Simple question - I hope?
Simple question - I hope?
thomas1956
Posts: 4Questions: 0Answers: 0
Thank for this great tool for presenting tabular data.
A simple question though:
There are some nice plugins - but where do I add the plugin??
In Datatables.js - in my page (asp, php etc.) that uses datatables or?
regards Thomas
A simple question though:
There are some nice plugins - but where do I add the plugin??
In Datatables.js - in my page (asp, php etc.) that uses datatables or?
regards Thomas
This discussion has been closed.
Replies
To use the plug-ins for DataTables, just include them somewhere in your page after DataTables has been brought into the page (the script tag for DataTables), and before you use them! You can put your code right into the main page, include it from a different JS file, or stick it at the end of the DataTables js file. Up to you!
There are a couple of examples available:
http://datatables.net/examples/example_plugin_api.html
http://datatables.net/examples/example_sorting_plugin.html
Regards,
Allan