Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table cells value changing on double click

 
Bill White
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have asked this question before. What I have is a class that I have written that hold some data.
I place objects of this class in the first column of each row so when I double click on a row I have easy access to a particular piece of info about that row.
However, when I double click on the cell that has my object in it. The type gets changed from CellValue (The name of my class) to String.
Is there a way I can stop this particular behavior?
Thank you.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are just using that column for reference, set editing to false.
 
Bill White
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont see where you can do that.
 
Bill White
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured a way around the problem. I put my class that is holding the data I am worried about in another column and hid it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic