I am working in JTable and I have a requirement like this. Say There are 4 columns namely 10,20,30,40
Now the value usually comes like 10-20 20-30 and 30-40 So it was easy for us to display the name for this range.
But recently the values have started to come randomly like 15-25 10-25,25-30
In this case our JTable should dynamically adjust the size of the row such that it represents that range only meaning it should not disturb the existing cells and only rows which diverge from the normal range.
TO be more precise I should be able to merge and split cells based on the content of the cell.
EDIT:Its like this.A person is assigned a task for a particular point of time
10| |20| |30|
|----------|
|----------|
represents 10-20 and 20-30 .The first line 10,20,30 are the column names.The second line is graphical representation of a box representing 10-20 and 20-30.Now if a value 15-25 comes
10| |20| |30|
|----------| |----------|
|-----------|
|-----------|
|-------------|
|----------| |----------|
Actually there is no gap between in the first and fourth row just to show that they are seperate cells.Now since data comes in the intermediate ranges of like 15-25 where we have to re align the cell shape as above I posted this.