On Thursday, July 26, 2012 10:32:42 AM UTC+2, Dennis Haupt wrote: > > i tried to follow the example here: > http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid > > but it doesn't even compile. > there is no implementation of the interface CwConstants, the field > "constants" is final but never initialized and the method "onInitialize" > has an override annotation but overrides nothing. > what am i missing? >
Some classes/interfaces are not really relevant to the example so they're not included in the "Source code" drop-down. The Showcase full source code is in the GWT SDK though (in the "samples" directory), and can thus of course be found in the source repo: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/ > if i skip all this and just try to get a simple datagrid running, all its > cells are invisible, but i can see they exist in the generated source code. > is there another example that works? > DataGrid is a RequiresResize, did you put it in a ProvidesResize container? (any kind of layout panel: RootLayoutPanel, DockLayoutPanel, LayoutPanel, etc.) Alternately you can give it explicit dimensions (preferably in pixels). -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/IYsaGI6eajkJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
