I have a TableView associated to a TreeView. Each time a node in the TreeView is selected, the TableView is refreshed with different data.
I am able to sort any col
If your TableView is not reinitialized, you can also do the following:
TableColumn sortOrder = rooms.getSortOrder().get(0); rooms.getSortOrder().clear(); rooms.getSortOrder().add(sortOrder);