• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make the TableItem to be editable?

 
Zee Ho
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ranchers:
I am trying to develop the eclipse plug-in now, But failed to make the tableitem to be editable. I try to use the Celledior or invoke the tableviewer.editElement directly, none of them works.

so anyone here can give me some hint about how to make the cell editable in Eclipse
 
Kamesh Loganathan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
JTable has a method called isCellEditable(), override it to return true for the cells that you want to edit.

All the Best!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!