Header columns are not visible for a Header Spans ListGrid with frozen columns

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();

Header titles of frozen columns are gradually getting hidden in a ListGrid

The original Title was not accurate about the issue. Sorry for any inconvenience.
Can anyone please help on this?

not tested

Hi,
did you try setHeaderHeight?

void com.smartgwt.client.widgets.grid.ListGrid.setHeaderHeight( int headerHeight)

The height of this listGrid’s header, in pixels. Modify the height of a listGrid. To hide the header set height to zero.

Parameters:
headerHeight new height for the header. Default value is 22

HTH,
falco

Yes falco, I tried orgdetailsGrid.setHeaderHeight(40); whatever the value I give, only the HeaderSpan height is increasing and not the Frozen column headers.

Thanx falco for triggering some thought!
It works now. Have to set setHeaderHeight() as well as setHeaderSpanHeight();

The help doc says “if headerSpanHeight is not specified [the default] , headerSpans will be 1/2 of headerHeight” Don’t know why it didn’t get applied.