Re: JTable group by functionality
- From: pietia <pietia.moo@xxxxxxxxx>
- Date: Sat, 24 Nov 2007 11:24:08 +0100
Jani Ruohomaa pisze:
Hi!
Has anyone managed to make group by functionality to a JTable (like in Outlook 2003) ?
For example if you have a column with dates and you click the column the table would be sorted in groups like Today, Yesterday, 2 days ago, Last week, Last month, Older.
If you would click a column with file sizes the groups would be like Tiny,Small, Medium,Large, Huge
There would be thicker cell row between the groups with the column header text + column group text + how many items in group
like for example
File size: Tiny (4 items)
Created: Today (7 items)
I have been trying to do this but it's quite tricky (partly because I am quite new to Swing and Java)
Br,
Jani
Maybe you sholud take a look at jgoodies ?
.
- References:
- JTable group by functionality
- From: Jani Ruohomaa
- JTable group by functionality
- Prev by Date: Re: Determining when the mouse moves off screen
- Next by Date: JFace Viewer(s) for text fields
- Previous by thread: JTable group by functionality
- Next by thread: Determining when the mouse moves off screen
- Index(es):
Relevant Pages
|