How can I at a DataGrid to a panel next to other panel. The problem is, that a LayoutPanel has to be added to the RootLayoutPanel. This is allways in fullscreen. So how can I add, for example, a navigationbar next to the DataGrid?
I tried the following, but it doesn't work: DataGrid grid = new DataGrid(); DockPanel mainPanel = new DockPanel(); mainPanel.add(new Label("HeaderPanel"), DockPanel.NORTH); mainPanel.add(new Label("Navigationbar"), DockPanel.WEST); mainPanel.add(grid, DockPanel.CENTER); RootLayoutPanel.get().add(mainPanel); On 14 Aug., 18:06, Rajesh <kwa...@gmail.com> wrote: > DataGrid provides scrolling capabilities. setHeight() on the table. > > On Aug 14, 4:00 am, Foermchen82 <juergen.f...@gmx.de> wrote: > > > > > > > > > I have tried it to add in on a LayoutPanel, but nothing is displayed. > > what I have to do? > > > On 13 Aug., 18:43, Jeff Larsen <larse...@gmail.com> wrote: > > > > I think DataGrid needs to be displayed inside a LayoutPanel. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.