Version(s) of Ext GWT
Ext GWT 3.0 Release Candidate 2
Browser versions and OS (and desktop environment, if applicable)
IE 9 Windows 7
Virtual Machine
No
Description
There seems to be a bug using a Grid inside a FieldSet inside a Container which gives the remaining space to that FieldSet. Sounds confusing, so just look at my test case. A Grid is placed into a FieldSet. The FieldSet is placed into a BorderLayoutContainer (center). In that case the grid's cells aren't visible, although the contained values are visible through Firebug. Same behaviour while using a VerticalLayoutContainer and adding the FieldSet with VerticalLayoutData(1,1).
Run mode
Development Mode
Test case
Module:
Code:
public void onModuleLoad()
{
final MyGrid grid = new MyGrid();
BorderLayoutContainer blc = new BorderLayoutContainer();
blc.setPixelSize(800, 250);
FieldSet fieldSet = new FieldSet();
fieldSet.setHeadingText("My Fieldset");
fieldSet.setWidget(grid);
blc.setNorthWidget(new Label("Muh"), new BorderLayoutData(40));
blc.setCenterWidget(fieldSet);
RootPanel.get().add(blc);
}
MyGrid:
Any Grid you want, e.g the one posted here.