| Author |
Grid header for JTable
|
Zach Donovan
Greenhorn
Joined: May 10, 2006
Posts: 8
|
|
How do i create a grid header on the top left corner of a jtable? Clicking on it will highlight every cell in the jtable.
|
 |
Craig Wood
Ranch Hand
Joined: Jan 14, 2004
Posts: 1535
|
|
|
|
 |
Zach Donovan
Greenhorn
Joined: May 10, 2006
Posts: 8
|
|
Thanks Craig for the fast reply...thats exactly what i need Cheers
|
 |
Zach Donovan
Greenhorn
Joined: May 10, 2006
Posts: 8
|
|
Hi, is there another way of highlighting...instead of selecting every cell i just want to highlight them, not selecting all?
|
 |
Craig Wood
Ranch Hand
Joined: Jan 14, 2004
Posts: 1535
|
|
|
|
 |
Zach Donovan
Greenhorn
Joined: May 10, 2006
Posts: 8
|
|
Hi Craig, if i want individual cell selection to work, i set table.setCellSelectionEnabled(true); in this case the selection of the whole grid doesn't work anymore. how do i make it work? thanks in advance. cheers
|
 |
Craig Wood
Ranch Hand
Joined: Jan 14, 2004
Posts: 1535
|
|
|
|
 |
 |
|
|
subject: Grid header for JTable
|
|
|