This commit is contained in:
@@ -77,6 +77,13 @@ function FiltrarTabla(idtxt, idtable, idcontador) {
|
||||
}
|
||||
}
|
||||
|
||||
function FiltrarTablaV2(idtxt, idtable, idcontador) {
|
||||
if ($( idtxt).val() == '') { $(idtable + ' tr').css('display', 'table-row'); }
|
||||
else { $(idtable + ' tr:not(.ADtr)').css('display', 'none'); $(idtable + ' tr:contains("' + $( idtxt).val() + '")').css('display', 'table-row'); }
|
||||
if ($('#' + idcontador).length > 0) {
|
||||
$('#' + idcontador).html($( idtable + ' tr:visible').length);
|
||||
}
|
||||
}
|
||||
|
||||
function FiltrarTablaFreezcol(idtxt, idtable, idcontador) {
|
||||
if ($('' + idtxt).val() == '') { $('div.ADSCroll:not(.RHeader) table' + idtable + ' tr').css('display', ''); }
|
||||
|
||||
Reference in New Issue
Block a user