I am using jQuery DataTables.
I want to remove the search bar and footer (showing how many rows there are visible) that is added to the table by default. I just want to use this plugin for sorting, basically. Can this be done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For DataTables >=1.10, use:
If you still want to be able to use the
.search()function of this plugin, you will need to hide the search bar’s html with thedomsetting:The defaults are
lfrtipor<"H"lfr>t<"F"ip>(whenjQueryUIis true),fchar represents the filter (search) html in the dom,ipfor the info and pagination (footer).For DataTables <1.10, use:
or using pure CSS: