Hi,
I am trying to have a List Grid with Header Spans and Frozen columns. The Frozen column headers are gradually becoming invisible in steps (Under Organization Header Span, attached screen shot). Even in FireFox Browser it is the same behaviour. What am I missing here. Thanks for any Help.
I am using SmartGWT 1.1, google GWT 1.6.4 on Ubuntu 8.10 with Eclipse 3.4.1
The following is the code
Canvas canvasMain = new Canvas();
canvasMain.setWidth100();
canvasMain.setHeight100();
canvasMain.setBackgroundColor("#ffffff");
VLayout contentLayout = new VLayout();
contentLayout.setWidth100();
contentLayout.setHeight100();
contentLayout.setPadding(10);
ListGrid orgdetailsGrid = new ListGrid();
orgdetailsGrid.setWidth("100%");
orgdetailsGrid.setHeight("60%");
orgdetailsGrid.setHeaderHeight(40);
orgdetailsGrid.setAlternateRecordStyles(true);
orgdetailsGrid.setAutoFetchData(true);
orgdetailsGrid.setAlternateRecordStyles(true);
orgdetailsGrid.setShowAllRecords(true);
orgdetailsGrid.setSelectionType(SelectionStyle.SIMPLE);
orgdetailsGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
ListGridField orgnameField = new ListGridField("orgName", "Name", 100);
ListGridField orgdomainnameField = new ListGridField("orgDomain", "Domain", 120);
ListGridField orgtypeField = new ListGridField("orgType", "Type", 50);
orgnameField.setFrozen(true);
orgdomainnameField.setFrozen(true);
orgtypeField.setFrozen(true);
ListGridField address1Field = new ListGridField("add1", "Add1", 150);
ListGridField address2Field = new ListGridField("add2", "Add2", 150);
ListGridField cityField = new ListGridField("city", "City", 90);
ListGridField stateField = new ListGridField("state", "State", 90);
ListGridField countryField = new ListGridField("country", "Country", 90);
ListGridField mobileField = new ListGridField("mobile", "Mobile", 80);
ListGridField phoneField = new ListGridField("phone", "Phone", 80);
ListGridField emailField = new ListGridField("email", "E-Mail", 120);
ListGridField commentField = new ListGridField("comment", "Comment",
120);
orgdetailsGrid.setFields(orgnameField, orgdomainnameField, orgtypeField,
address1Field, address2Field, cityField, stateField, countryField,
mobileField, phoneField, emailField, commentField);
orgdetailsGrid.setHeaderSpans(new HeaderSpan("Organization", new String[] { "orgName", "orgDomain", "orgType" }),
new HeaderSpan("Address", new String[] { "add1", "add2", "city", "state", "country" }),
new HeaderSpan("Contact", new String[] { "mobile", "phone", "email" }),
new HeaderSpan("Description", new String[] { "comment" }));
contentLayout.addMember(orgdetailsGrid);
canvasMain.addChild(contentLayout);
canvasMain.draw();
