How can I retrieve hidden columns from JIDE TreeTable?

This forum is used by users to request and discuss new product features. Please do not use this forum for technical support including bug reports.

Moderator: JIDE Support

Forum rules
Product suggestions only. Please do not use this forum for technical support including bug reports.

How can I retrieve hidden columns from JIDE TreeTable?

Postby sks » Wed Jan 07, 2009 12:45 pm

Hello,
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
sks
 
Posts: 48
Joined: Thu Sep 25, 2008 12:23 pm

Re: How can I retrieve hidden columns from JIDE TreeTable?

Postby JIDE Support » Wed Jan 07, 2009 12:51 pm

We put the column instances as client property. You can debug and inspect table.getClientProperties to see them.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37245
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 4 guests