dcsimg
Showing Tree structure with various attributes inside JTable
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Neelesh_Tandon
Posted On:   Monday, March 24, 2003 09:40 PM

Hi Folks, This is Neelesh here.I just wanted to get some info or code snipet wherein I have to show data which will be in the form of a JTree strcuture inside a JTable.This data will be dependent on the user profile and will have various attributes like pending amount ,amount,temp name etc etc.The further functionality required will be sorting the Jtree structure and also to have ascending and descending funcionality. System Firm Main Account Amount Pending Amm --> A A N1 30350 50000 80000 B A M1 40502 80000 60000 30000 20000 75000 50000 60000 63000 The first row is just the parent The second row of system B has child    More>>

Hi Folks,
This is Neelesh here.I just wanted to get some info or code snipet wherein I have to show data which will be in the form of a JTree strcuture inside a JTable.This data will be dependent on the user profile and will have various attributes like pending amount ,amount,temp name etc etc.The further functionality required will be sorting the Jtree structure and also to have ascending and descending funcionality.

System Firm Main Account Amount Pending Amm

--> A A N1 30350 50000 80000
B A M1 40502 80000 60000
30000 20000 75000
50000 60000 63000
The first row is just the parent
The second row of system B has child .This is what needs to be shown inside the Table.Please give a feedback asap.
Thanks in advance
Neelesh

   <<Less

Re: Showing Tree structure with various attributes inside JTable

Posted By:   Bahman_Barzideh  
Posted On:   Tuesday, March 25, 2003 05:19 AM

I am not sure what you are looking for, but it sounds somewhat like
the Microsoft Windows browser. If this is the case, check out the Creating TreeTables: Part 2 on Sun's web site. It has information on how to create such a Component as well as a good code sample. I also
bet a Google search for java TreeTable may give you
additional links.
About | Sitemap | Contact