• Post Reply Bookmark Topic Watch Topic
  • New Topic

Complexed JTable

 
Dvir G.
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
I need some help to develop my JTable.
My Table has to display two types of data, hirarchicly.
Each one has different number of columns with different names.

Example:
--------------------------------------------------------------
|Dept No. | Dept. Name | Location |
--------------------------------------------------------------
|Emp No. | Employee Name | Salary | Benefits |
--------------------------------------------------------------
|1 | Sales | Alaska |
--------------------------------------------------------------
|475 | David Scott | 150,000 | 45,000 |
--------------------------------------------------------------
|748 | George Costansa | 10,000 | -50,000 |
--------------------------------------------------------------
|2 | Marketing | Alabama |
--------------------------------------------------------------
...

In order to be able to do so, I thought about placing a JTable as another
row right after each father row (Department).

Does anyone have any idea how to do so?

Thanks,
Dvir

[ May 31, 2004: Message edited by: Dvir G. ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!