Hiding filter input box instead of disabling + tablesorter 2
jquery, tablesorter
Solution
Here is the default css:
/* optional disabled input styling */
table.tablesorter thead tr.tablesorter-filter-row input.disabled {
opacity: 0.5;
filter: alpha(opacity=50);
}
As seen, a `disabled` class is applied to those disabled filters, so you can use css to either apply `display:none` or `visibility:hidden` to it:
tr.tablesorter-filter-row input.disabled {
display: none;
}
Problem
I need a little assistance. I am using a fork of JQuery TableSorter 2 (http://mottie.github.com/tablesorter/) to work and filter my tables. If i dont want certain columns to be used as filter, I simply need to add "filter-false" as a class to the selected column header. My main question is whether there is a way I can actually hide the filter boxes on the selected columns instead of just disabling them... Thanks Emmanuel