This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to prevent cell editing of a partyicular cell in a jtable

 
mahesh narayan
Ranch Hand
Posts: 41
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

I am using a JTable and using a cell editor(checkbox cell editor) for a particular column. Now i want to prevent cell editing for the first row alone.any possible solutions for the same.

tx
Mahesh
 
Eric Snell
Greenhorn
Posts: 28
Java Mac MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Override and return false when the row is 0.

or

Override and return false when the row is 0.

Those are probably the most straightforward ways.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic