i am using this but i want to remove the search bar and footer (showning) how many rows there are visible. I basically just want to use this plugin for sorting.
views:
437answers:
4
A:
A quick and dirty way is to find out the class of the footer and hide it using jQuery or CSS:
$(".dataTables_info").hide();
kgiannakakis
2009-12-17 09:58:57
static hiding with jquery isnt realy good
antpaw
2009-12-17 10:00:57
+2
A:
.dataTables_filter, .dataTables_info {display: none;}
that would be an option
antpaw
2009-12-17 09:59:40
ive found a much better way to achieve this $('table').dataTable({"bFilter": false,"bInfo": false});
antpaw
2009-12-21 11:22:40
A:
You could hide them via css:
#example_info, #example_filter{display: none}
graphicdivine
2009-12-17 10:00:03
Not 'wrong', merely different. It depends on whether you want to hide all instances (by class, as in your answer), or a particular instance (by ID, as in mine).
graphicdivine
2009-12-17 10:07:50
A:
if you are using themeroller:
.dataTables_wrapper .fg-toolbar { display: none; }
paja01
2010-02-26 11:51:29