Thursday, May 31, 2012

Re: DataGrid rows appear only after sort when using SimplePanel

DataGrid is a RequiresResize widget; are you giving it an explicit size? (given that you're not putting it into a ProvidesResize widget)
See https://developers.google.com/web-toolkit/doc/latest/DevGuideUiPanels#Resize, and the "Using a LayoutPanel without RootLayoutPanel" recipe on the same page.

On Monday, May 28, 2012 5:28:03 PM UTC+2, Ronny Shapiro wrote:
Hello,

I have found a strange behavior when using a DataGrid with SimplePanel
and ListHandler.
The data is not shown until I click on one of the column headers to
sort the data.

I tried using VerticalPanel instead and the data is shown correctly
when the table is redrawn (no sort yet made).

Any ideas what may cause this ?

(The work around is easy but still strange it works that way ..)

Ronny

--
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/-/cspcB7sUaEQJ.
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