How do you use a plugin?

How do you use a plugin?

elmezieelmezie Posts: 7Questions: 0Answers: 0
edited September 2009 in Plug-ins
Im having trouble actually implementing plugins. For example, I copy the code for the Filter Delay plugin
I paste the code on my page after the code oTable object has been created. Then i run the example callback for the plugin.

But when i do this, it appears to recreate the sDom object or something.
Two search boxes now appear on the page, and two dropdown boxes for the number of results on the page.


  • allanallan Posts: 55,884Questions: 1Answers: 8,836 Site admin
    Hi elmezie,

    There are a couple of examples of how to use plug-in code with DataTables:


    Hopefully that will steer you in the right direction. Also regarding the duplicate drop down boxes etc, that sounds like you are re-initialising your table - this shouldn't be done. Have a look at the example code, and post back if you have any questions.

This discussion has been closed.