Hi,

I am trying to use a CellList with a CellRenderer and I did a simple 
example that is just using a contact name in the .ui.xml.
I have tried 
https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder#Rendering_HTML_for_Cellsbut
 I have a problem...

Indeed, in my list of contact, it appears [object Object] instead of the 
name of the contact.
I have added a click event and my name appears thanks to :
renderer.getNameSpan(*parent*).setInnerText(o.getContact_name());

I do not know how to set the name of my contact, I think I should do it in :
@Override public void render(Context context, Contact value, 
SafeHtmlBuilder builder)
but here I do not have acces to the "parent" node.

Could you help me ? Thanks you,





-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/W1oiGAOh10sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to