| Author |
Editing JTable
|
Kushi Gadiparthi
Ranch Hand
Joined: Sep 23, 2010
Posts: 52
|
|
Hi All,
I want to edit a single column in a JTable instaed of editing all the columns in the table,
I am using
then every row and column in the table is getting into editable mode,
But I don,t want this I just want to edit only one column and wanted remaining column must be in uneditable mode,
Could any one help me in this,
Thank you very much,
regards
|
Jashvika
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4163
|
|
|
Override isCellEditable(...) in either the table or its model. If the former, remember that unless you have disenabled it, columns can be dragged resulting in a view column index that is different from the model's.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Kushi Gadiparthi
Ranch Hand
Joined: Sep 23, 2010
Posts: 52
|
|
Hello Darryl Burke,
Thank you very much for your quick reply,
|
 |
 |
|
|
subject: Editing JTable
|
|
|