""check/uncheck all rows""- For this, u will either extend CheckBoxCell and override the onBrowserEvent(....) method. or create a new AbstractCell and override the onBrowser(..) method..
Thanks, Subhro. 2010/12/15 Subhrajyoti Moitra <subhrajyo...@gmail.com> > I believe u are talking about CellTable widget. If so.. > > Define a Header object; > Implement the getValue method. > > The header accepts a cell object in its constructor. > U can define any Cell like CheckBoxCell etc. > > CheckboxCell cb=new CheckboxCell(); > Header<Boolean> hdr=new Header<Boolean>(cb) { > @Override > public Boolean getValue() { > > return false;//return true to see a checked > checkbox. > } > }; > > CellTable ct=new CellTable(); > ct.addColumn(colCell,hdr); > > colCell is defined elsewhere. > > Hope this helps. > > Thanks, > Subhro. > > > On Wed, Dec 15, 2010 at 1:00 PM, Diyko <diyko...@gmail.com> wrote: > >> I thought it should be easy >> Help >> >> On 14 Грд, 21:17, Diyko <diyko...@gmail.com> wrote: >> > I need add checkbox in header and implement "check/uncheck all rows" >> > functionality? >> > Anybody did it already? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To post to this group, send email to google-web-tool...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@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.