learn java
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

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "iscelleditable is not working in jtable" Watch "iscelleditable is not working in jtable" New topic

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



Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2281

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 agree. Here's the link: http://aspose.com/file-tools
subject: iscelleditable is not working in jtable