• Post Reply Bookmark Topic Watch Topic
  • New Topic

Enable/disable �table cell editable� dynamically.

 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I do this? I don�t see a method like JTable.setEditable(row, col);
Any thought?
Thanks
 
Harish Prabhu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you have to override the iscellEditable in the TableModel to be able to set a cell as editable or noneditable.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!