<table>
<tr style="display:none"><td>1</td><td>2</td><td>3</td></tr>
<tr style="display:none"><td>4</td><td>5</td><td>6</td></tr>
<tr><td>7</td><td>8</td><td>9</td></tr>
</table>
<button id="btn">Кнопка</button>
<script>
btn.onclick = e => document.querySelectorAll('tr').forEach(el=>el.style.display = 'table');
</script>