• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

check box in JTable

 
Suhas Mohamedali
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please help to make the selected row non editable if the check box in the row is unchecked and editable otherwise.

 
Michael Dunn
Ranch Hand
Posts: 4632
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
override isCellEditable(..)
to return the value at that row of the
checkbox column
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic