I'm trying to retrieve the columns which are hidden in my JIDE TreeTable, the closest I get is getting the indexes of the hidden columns from the TableColumnChooser i.e.
- Code: Select all
int[] hiddenColsArray = TableColumnChooser.getAllHiddenColumns(treeTable);
However, I need to get the actual TableColumn objects from my JIDE TreeTable object which doesn't provide me with that information because the TableModel of the TreeTable object contains only the visible columns and not the ones that are hidden. Therefore, I can't use the int[] of indexes of the hidden columns and get the TableColumn objects from the TableModel of the TreeTable.
Please let me know how I can get the names/TableColumn objects of the hidden columns.
Thanks