function mudarPesquisaSelect() {
var tr = document.getElementById('tbody').getElementsByTagName('tr');
var valorSelect = (<HTMLInputElement>document.getElementById("grupo"));
switch (valorSelect.value) {
case "P":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('P')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "A":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('A')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "S":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('S')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "F":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('F')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "T":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('T')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "O":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('O')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
case "All":
for (var ab = 0; ab < (tr.length - 1); ab++) {
if (tr.classList.contains('All')) {
tr[ab].style.display = "";
} else {
tr[ab].style.display = "none";
}
}
break;
default:
}
}
if (tr.classList.contains('P'className)) {