0

I want to make a whole Row editable...e.g if user selected column 1 than click on edit button the table will show the whole row in editable form...it will be great if any one can give only code upon button event.

mKorbel
  • 109,525
  • 20
  • 134
  • 319
Haseeb Wali
  • 1,181
  • 3
  • 14
  • 34
  • *"I want to make a whole Row editable.."* Go for it! All the best. *"..it will be great if any one can give only code.."* ..so not a link to a basic tutorial? [What have you tried?](http://www.whathaveyoutried.com/) – Andrew Thompson Dec 04 '12 at 09:05

1 Answers1

1

I want to make a whole Row editable...e.g if user selected column 1 than click on edit button the table will show the whole row in editable form...it will be great if any one can give only code upon button event.

  • I think have to use JToggleButton, because (JButtons) simple click is immediatelly finalized in comparing with JToggleButton (has two states)

  • for JTable have to set proper SelectionMode and to override public boolean isCellEditable(int row, int col) {

mKorbel
  • 109,525
  • 20
  • 134
  • 319