wood burning stoves*
The moose likes GWT and the fly likes how to set the value of the cell in the column Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "how to set the value of the cell in the column" Watch "how to set the value of the cell in the column" New topic
Author

how to set the value of the cell in the column

Pradeep Kumar
Ranch Hand

Joined: Sep 08, 2006
Posts: 108

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.


Thanks and Regards, Pradeep Kumar
SCJP 1.6, SCWCD 5.0
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to set the value of the cell in the column