how do i add plug-ins
how do i add plug-ins
![burningflames](https://secure.gravatar.com/avatar/931852b2aa254a1b48044b4115f13a9e/?default=https%3A%2F%2Fvanillicon.com%2F931852b2aa254a1b48044b4115f13a9e_200.png&rating=g&size=120)
Hi Allan,
Noob question : how do i add plug-ins into my code ??
Do i just copy them into datatable js file and use them as per usage directions ?? Do I need to add the function name somewhere else ??
Thanks
Noob question : how do i add plug-ins into my code ??
Do i just copy them into datatable js file and use them as per usage directions ?? Do I need to add the function name somewhere else ??
Thanks
This discussion has been closed.
Replies
Here is an example of how to add an API plug-in function: http://datatables.net/examples/example_plugin_api.html
And there is one showing custom type detection and sorting: http://datatables.net/examples/example_sorting_plugin.html
You can put the plug-in functions anywhere in your script file(s) _after_ the DataTables code.
Does that help?
Allan
To do this, please see the documentation: http://datatables.net/usage/columns#sType
Regards,
Allan