I just answered on StackOverflow: http://stackoverflow.com/a/19045668/116472
On Friday, September 27, 2013 7:34:16 AM UTC+2, Bhumika Thaker wrote: > > Hi, > > > How to create event on safe html. As I want to do filtering for column in > celltable. > So I added search box at header in table. I want to access textbox and do > some event on textbox. > > > > <https://lh3.googleusercontent.com/-w-vIWPaXBNQ/UkUYo6KK_vI/AAAAAAAAAFI/86uBX0osvA4/s1600/grid+search.png> > > > Code: > > SafeHtmlBuilder builder = new SafeHtmlBuilder(); > builder.appendHtmlConstant("<input > type=\"text\"/><br/><br/><select><option>one</option></select><br/><center><b>Name</b></center>"); > cell.addColumn(namecolumn,builder.toSafeHtml()); > SafeHtmlBuilder builder1 = new SafeHtmlBuilder(); > builder1.appendHtmlConstant("<input > type=\"text\"/><br/><br/><select><option>one</option></select><br/><center><b>Last > > name</b></center>"); > cell.addColumn(lastNameColumn,builder1.toSafeHtml()); > SafeHtmlBuilder builder2 = new SafeHtmlBuilder(); > builder2.appendHtmlConstant("<input > type=\"text\"/><br/><br/><select><option>one</option></select><br/><center><b>Age</b></center>"); > cell.addColumn(ageColumn,builder2.toSafeHtml()); > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
