Disable "showTableView" button if table is empty

The button is essentially a noop in this case since we now limit the height to the number of rows.