FILTROS CON SELECTORES CHOSEN, ACUMULAR FILTROS USANDO TABULATOR
selGrupos.on(‘change’,function (){
var filters = table.getFilters();
$.each(filters, function (i,row) {
if (row.field===«artgru») {
table.removeFilter(row.field,row.type,row.value)
}
})
if ($(this).val()!==‘0’) {
table.addFilter(«artgru», «like», $(this).val());
}
});
selLineas.on(‘change’,function (){
var filters = table.getFilters();
$.each(filters, function (i,row) {
if (row.field===«artlin») {
table.removeFilter(row.field,row.type,row.value)
}
})
if ($(this).val()!==‘0’) {
table.addFilter(«artlin», «like», $(this).val());
}
});