I saw examples on how to get table header in many places with code
TableHeaderRow header = (TableHeaderRow) tableView.lookup(\"TableHeaderRow\");
lookup("TableHeaderRow"); works, but it needs called after the table is rendered or it will return null