Tuesday, May 29, 2012

Re: How to make CellTable Header always on top

On Wednesday, May 30, 2012 8:40:12 AM UTC+2, tong123123 wrote:
I see the thread
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.

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