Monday, September 6, 2010

Almost impossible to extend CellTable

Hi all

I checked out the code for gwt 2.1, i wanted to see the last changes
in the CellTable component. A nice addition is the SafeHtmlTemplate.
But one drawback of the current implementation of the CellTable
component is that you cannot reuse the code from the CellTable by
extending it. For example i would like to benefit from the rowspan and
colspan parameters of the tag <td>, or to build a more customizable
table. From my point of view this is impossible as the columns are
defined as private, and I wouldn't be able to use them from my
subclass or somehow to change the table template. It would be great
if I would be able to reuse the code, otherwise i would need to copy
the same functionality.

What is your opinion?

--
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