Well some news:
- Showcase work on IE7.
- If I removing the DockLayoutPanel (setting explicit dimensions on the
DataGrid instead):
DON'T WORK
<g:VerticalPanel addStyleNames='mainPanel'>
<g:DockLayoutPanel unit="PX" height="450px" width="700px">
<g:center>
<c:DataGrid ui:field="resultTable" />
</g:center>
</g:DockLayoutPanel>
</g:VerticalPanel>
WORKS:
<c:DataGrid ui:field="resultTable" height="450px"
width="700px"/>
So, it seems datagrid inside dockpanel doesn't work well on IE7.
I'll continue with more tests.. Thanks Thomas
Works. So in IE7, you can't put Datagrid
2011/11/18 Juan Pablo Gardella <[email protected]>
> Thanks again Thomas! I'll try your suggestions.
>
> Juan
>
>
>
> 2011/11/18 Thomas Broyer <[email protected]>
>
>> Does the Showcase work in IE7?
>> http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid
>> If it does, then it's not an issue with "DataGrid in IE7", but how you're
>> using it in your app.
>>
>> (also, note that using RootLayoutPanel is not enough if you don't have
>> RequiresResize/ProvidesResize widgets all the way down to your DataGrid: in
>> the sample code you posted, you have a VerticalPanel which breaks the
>> chain; but it's not the issue, as you explicitly set the width and height
>> of the DockLayoutPanel).
>>
>> I'm sorry I don't have time to download/build/test your sample project,
>> and don't have an IE7 at hand either.
>>
>> What I'd do:
>> - try removing the DockLayoutPanel (setting explicit dimensions on the
>> DataGrid instead)
>> - set breakpoints within DataGrid (onResize, setSize and similar)
>> - add logs (window.alert, GWT.log, or java.util.logging) of the DataGrid
>> dimensions (and/or explore the DOM using the IE Developer Toolbar); beware
>> that layout panels handle resize in a Scheduler#scheduleFinally, so defer
>> your logging a bit; don't do it straight in your start() method.
>>
>> --
>> 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/-/cNX6AM2JCyMJ.
>>
>> 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.
>>
>
>
--
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.