How to hide headers in Hierarchical table

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 to hide headers in Hierarchical table

Postby pg17 » Wed Nov 30, 2011 2:30 pm

I have a table that extends HierarchicalTable. I want to display only the data without and header.
Setting table.setHeaderTable(null) is not achieving this result.
Is this teh right approach or is there an alternate route?

Thanks in advance!
pg17
 
Posts: 1
Joined: Wed Nov 30, 2011 2:23 pm

Re: How to hide headers in Hierarchical table

Postby JIDE Support » Wed Nov 30, 2011 4:56 pm

Please try to invoke yourTable.getTableHeader().setPreferredSize(new Dimension(0,0)) to hide the table header.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 34001
Joined: Sun Sep 14, 2003 10:49 am


Return to Product Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron