DataTables - I don't want the search/filter and length options on some tables

BadHorsie picture BadHorsie · Nov 13, 2012 · Viewed 54k times · Source

How do I initialise specific tables without the search filter and length select menu?

Apparently it can be done with the sDom option, but the documentation is pretty bad and I can't understand exactly what I am supposed to do.

http://datatables.net/usage/options#sDom

Answer

Smiter picture Smiter · Nov 13, 2012

You can set to false such properties during initialization of datatable:

"bFilter" : false,               
"bLengthChange": false