Saturday, January 4, 2014

Re: How handle event for Dom element inside custom data grid?

Hi all,

Is anybody have idea about it?  Is it possible to handle dom event into custom data grid?
I got null value while accessing runtime added element.

When does Elements rendered event complete?  So I can access those elements and handle event or define dom elements?

Thanks  ,
Bhumika

On Jan 3, 2014 1:15 PM, "Bhumika Thaker" <thaker.bhumika@gmail.com> wrote:
Hi All,

I added child row into custom data grid using TableRowBuilder.

TableRowBuilder row = startRow();
TableCellBuilder td = row.startTD();
SafeHtmlBuilder sb = new SafeHtmlBuilder();
sb.appendHtmlConstant("<b>Important Dates:&nbsp;&nbsp;</b><br/>")
//Here I want to edit image and make event for it. but no clue?
.appendHtmlConstant( "<img src = '" + editimagePath+ "' class = 'imageAsLink' />");
td.html(sb.toSafeHtml());
td.endTD();
row.endTR();

I found other tag like
td.startButtonInput();
td.endButton();
But I cound not understand it.


Thanks,
Bhumika

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate