I have a grid where I have to leave a hidden column, I'm doing it this way but it's not doing it the way I would because I can not predict how many rows it will have in this column.
I have a grid, where in typename I have: I want to remove the entire column where I have this specific typename
<html>
<head>
<title>Matheus Piscioneri</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="https://code.jquery.com/jquery-3.1.1.min.js"integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script type="text/javascript">
$(document).ready(function() {
$(document.getElementsByTagName('th')[21]).hide()
$(document.getElementsByTagName('td')[21]).hide()
});
</script>
</head>
<body>
<th typename="aprovacaoAprovadorExtra" style="cursor: default" title="Aprovação - Aprovador Extra">
</th>
<td class="">Não </td>
</body>
</html>