Re: enable and disable checkBoxCells in a a Celltable

2010-12-15 Thread pfc09 pfc09
OK, I see! Thank you very much :) 2010/12/15 John LaBanca jlaba...@google.com Cell#render() renders the Cell contents as Html into the SafeHtmlBuilder. If you create your own CustomCheckboxCell, you can render a checkbox however you want. You're render method would look something like the

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread Subhrajyoti Moitra
i think u will have to use AbstractCell and then implement the render method appropriately. Also see the sources for CheckBoxCell for an example. Thanks, Subhro. On Tue, Dec 14, 2010 at 1:24 PM, pfc09 pfc09 4pf...@gmail.com wrote: Hi! I'm working with a CellTable and I'd like to add

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread pfc09 pfc09
Hei! And thank you for answering. I read what you suggested, but I can't see how render method can help me... void *render*(C http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/cell/client/Cell.html value, java.lang.Object key, SafeHtmlBuilder

Re: enable and disable checkBoxCells in a a Celltable

2010-12-14 Thread John LaBanca
Cell#render() renders the Cell contents as Html into the SafeHtmlBuilder. If you create your own CustomCheckboxCell, you can render a checkbox however you want. You're render method would look something like the following: void render(MyType value, Object key, SafeHtmlBuilder sb) { if

enable and disable checkBoxCells in a a Celltable

2010-12-13 Thread pfc09 pfc09
Hi! I'm working with a CellTable and I'd like to add checkBoxCells to a column. I only would like to enable some checkBoxes, how can I disable or enable checkboxes in a cellTable? Thank you! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.