Hi all,
I want to use the DataGrid of GWT 2.4. But this I have to add to the
RootLayoutPanel.
For a specific layout with other panels I have to use f.e. the
DockLayoutPanel.
But to add Widget to the DockLayoutPanel, I have to apecify the size:
DockLayoutPanel mainPanel = new DockLayoutPanel(Unit.PX);
Label newLabel = new Label("Hallo");
mainPanel.addNorth(newLabel, 100);
mainPanel.add(new DataGrid();
RootLayoutPanel.get().add(mainPanel);
How can I set the size of the north-part only to the required space?
There is no getWitdh() on the Label.
Is there any other way to use the DataGrid on the RootPanel instead of
the RootLayoutPanel?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.