Results 1 to 3 of 3
Thread: hide column
- 12-13-2009, 07:18 AM #1
Member
- Join Date
- Oct 2009
- Posts
- 88
- Rep Power
- 0
- 12-13-2009, 09:58 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,400
- Blog Entries
- 7
- Rep Power
- 17
It depends what you want: if you want to remove an entire column it pays off to build a new TableModel and pass that to the JTable; if you just want to hide the columns content but show blanks there you have to write your own TableCellRenderer. Read the API documentation for those classes.
kind regards,
Jos
- 12-13-2009, 05:46 PM #3
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Similar Threads
-
insert row and column and delete row and column
By daredavil82 in forum New To JavaReplies: 13Last Post: 09-22-2011, 06:10 PM -
How to Hide cursor
By priya in forum Java SoftwareReplies: 1Last Post: 12-09-2010, 09:39 PM -
How to hide a control in SWT?
By lottalava in forum SWT / JFaceReplies: 11Last Post: 10-18-2010, 09:52 AM -
Hide scrollBars from scrollPanes..
By ehochedez in forum AWT / SwingReplies: 4Last Post: 06-30-2010, 03:48 PM -
hide one frame under another
By marodia in forum AWT / SwingReplies: 7Last Post: 08-25-2009, 01:23 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks