wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
Hi all,

How cn I hide some column in JTable? I want to hide the column that contains ID.

Thanx,

JML
Jamal Hasanov
Ranch Hand

Joined: Jan 08, 2002
Posts: 411
I solved that problem.

You need to set that column's (and column header's) max and min width to 0.



Where tbl is JTable.

JML
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable
 
Similar Threads
JTable Column Hiding
JTable problem
JTable Column Hide
Hiding JTable Columns
JTable