Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 109
  • 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