You could use the following two links to help you:
I am not an expert, but you could override the sDom variable and remove the "f" that represents the filter.
http://datatables.net/examples/basic_init/dom.html
There is also a boolean variable for using the filter, but I do not know if setting it to false will also remove the search box.
http://www.datatables.net/usage/features#bFilter
I find the sDom method preferable to the bFilter method, because sDom just removes visibility while bFilter removes functionality.
If indeed you want to remove filtering functionality altogether, bFilter false will probably also remove some unecessary event listeners, which is a good thing.
Replies
Thanks
Jim
I am not an expert, but you could override the sDom variable and remove the "f" that represents the filter.
http://datatables.net/examples/basic_init/dom.html
There is also a boolean variable for using the filter, but I do not know if setting it to false will also remove the search box.
http://www.datatables.net/usage/features#bFilter
Hope this helps.
Thanks Andrew.
Jim
.dataTables_filter {
display: none;
}
If indeed you want to remove filtering functionality altogether, bFilter false will probably also remove some unecessary event listeners, which is a good thing.