Thursday, January 2, 2014

How handle event for Dom element inside customdatagrid?

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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate