Re: JTable group by functionality



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 ?
.



Relevant Pages

  • JTable group by functionality
    ... Has anyone managed to make group by functionality to a JTable (like in Outlook 2003)? ... If you would click a column with file sizes the groups would be like ... I have been trying to do this but it's quite tricky (partly because I am quite new to Swing and Java) ...
    (comp.lang.java.gui)
  • Re: Importing OE6 into Office 2003 Outlook taking FOREVER
    ... With me readily assuming all the risk here, how much harm could I do ... to kill OL, kill msimn.exe if need be, and try to export from OE ... the file sizes have been a little problematic.) ... I'm trying to import messages from OE6 into Office 2003 Outlook, ...
    (microsoft.public.outlook.installation)
  • Re: Default e-mail
    ... DLLPath) are in the Mail folder. ... Microsoft Outlook folder ... >> choice available to me is Microsoft Outlook, ... >> Explore and Outlook Express are checked, but the file sizes are 0.0. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • How Can I Reduce Size of pst Files?
    ... I have 2 Gigs of *.pst files in Outlook 2002. ... The file sizes went down by 50 meg. ...
    (microsoft.public.outlook.general)