Monday, November 1, 2010

composite headers in celltable

Hey,

Has anyone done composite headers with the new CellTable?

I'd like to use CompositeCell, but I'm having a hard time turning my
list of individual Headers into a List<HasCell<>> specifically because
Header's valueUpdater is private.

If you look at HasCell, it exposes the it's FieldUpdater for the
composite cell to grab in it's on onBrowserEvent handling. I'd like to
make a fake FieldUpdater for a header, but I cannot access it's
valueUpdater.

(My use case is having a header with text + a checkbox. I can use
CheckboxCell semi-successfully, but without being able to provide
CompositeCell with a dummy FieldUpdater, I'm unable to react to
any changes to the checkbox.)

Thanks,
Stephen

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment