This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes iscelleditable is not working in jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "iscelleditable is not working in jtable" Watch "iscelleditable is not working in jtable" New topic
Author

iscelleditable is not working in jtable

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
i am trying the jtable cell uneditable but it is not working can any body tell what is the problem

View Employee1.java





DButils.java


MyDefaultTableModel.java







Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2372
    
    8


Doesn't seem to make much sense to create a table with data from the SQL query, and then change the model to an empty model.

Did you add any debug statement to your custom model to see if the isCellEditable(...) method is ever invoked?

If you need further help then you need to create a SSCCE (Short, Self Contained, Compilable and Executable, Example Program), that demonstrates the incorrect behaviour.


 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: iscelleditable is not working in jtable
 
It's not a secret anymore!