This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set the value of the cell in the column

 
Pradeep Kumar
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am struck with a issue and am not able to proceed further.



The issue is, I have a CellTable which container columns ot of which
one column refers to a ButtonCell which displays an image. The above
code for widgets is there in a View class.

Now in the presenter I need to change the image to another image based
on a condition of a column value for all the row. i.e, based on the
value of the column the image should be changed for all the rows.

Could you please let me know how to do this in the Presenter class.

Here is what i tried but struck to set the below values:
context, parent, value

display.getColumnDelete().getCell().setValue(context, parent, value)

Please let me know how to resolve this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic