Is it possible to pick & choose features?
Is it possible to pick & choose features?
Is it possible to select a limited set of DataTables features to use? I'm thinking in a similar vein to jQuery UI's custom download, where I pick only the parts I am using. I don't see anything on this site but from a quick look at the code it's structured quite well so maybe it's possible manually.
Could I simply delete a section like [code]this.fnFilter...[/code] if I am not using filtering? Do you have a "dependency list" of which features require other features?
Could I simply delete a section like [code]this.fnFilter...[/code] if I am not using filtering? Do you have a "dependency list" of which features require other features?
This discussion has been closed.
Replies
[code]
$('#example').dataTable( $.extend( {}, defaults, {
"bFilter": true
} );
[/code]
Where 'defaults' is your default initialisation object.
Allan
For example if I wasn't using filtering, could I delete the whole `this.fnFilter...` section in `jQuery.dataTables.js` and recompile it?
Allan