setFilters supports jQuery table object

This commit is contained in:
Mottie 2014-04-21 20:44:52 -05:00
parent e446d6ecc4
commit e6646c64c0

View File

@ -1196,7 +1196,7 @@ ts.setFilters = function(table, filter, apply, skipFirst) {
if (c && apply) {
// ensure new set filters are applied, even if the search is the same
c.lastCombinedFilter = null;
ts.filter.findRows( table, filter, (filter || []).join('') );
ts.filter.findRows( c.$table[0], filter, (filter || []).join('') );
c.$table.trigger('filterFomatterUpdate');
}
return !!valid;