As flexible as DataTables is, there may be times when you wish to customise certain aspects to your specific needs. Currently DataTables provides plug-in support for the following methods:
DataTables plug-ins are attached to the $.fn.dataTableExt object in order to ensure that there is no global clutter from DataTables.
If you do take the time to create a plug-in for DataTables and wish to share it with others, please get in touch with me and I'll post your plug-in on the plug-ins page.
There are a few general variables in this object which are detailed below:
DataTables uses a form of Hungarian notation for variables, and this is reflected in it's API. Hungarian notation is a method of marking what a variable is used for by adding a prefix to it's name. It's use is contentious, and many developers do not advocate their use, or consistent and careful use (the approach DataTables takes!). Obviously it is simply down to developer preference, and I find it useful to know what a parameter should be used for in a loosely typed language such as JavaScript. A variable should mean one thing, and one thing only and this helps to keep that true here, it also helps to self-document the code.
Prefixes used:
Obviously (almost) everything in JavaScript is actually an object, so you could say that every variable should simply be prefixed by an 'o'. However, these prefixes give an indication as to what the variable is intended for / what it's purpose is, as Hungarian notation was intended for. You do not have to use this form - it is simply documented here for the internal DataTables convention.