Simple question - I hope?

Simple question - I hope?

thomas1956thomas1956 Posts: 4Questions: 0Answers: 0
edited July 2009 in Plug-ins
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

Replies

  • allanallan Posts: 54,902Questions: 1Answers: 8,605 Site admin
    Hi thomas1956,

    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
This discussion has been closed.