On Wednesday, May 30, 2012 8:40:12 AM UTC+2, tong123123 wrote: > > I see the thread > > https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/PBhu6RtP4G8 > and so I put the datagrid inside a scrollPanel (scrollPanel implements > ProvidesResize) and I also set each column width > (table.setColumnWidth(addressColumn, 7, Unit.EM);) > but still cannot show the datagrid, what happens? >
ScrollPanel is also a RequiresResize, so it won't help. You have to give your DataGrid (or whatever RequiresResize+ProvidesResize parent) a size in pixels. See https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Resize (and don't miss the "Recipes" section!) -- 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/-/PpPCjAW-Px0J. 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.
