• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

how to set the value of the cell in the column

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I guess everyone has an angle. Fine, what do you want? Just know that you cannot have this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic