:: Forum >>

setColumnHeaderHeight in version 2.0?

I'm trying to use the setColumnHeaderHeight method with AW 2.0b3, but my JavaScript console says that the method isn't available. Maybe I'm overlooking something obvious? My code is the following (abbreviated):

var obj = new AW.Grid.Extended;
obj.setId("myGrid");
obj.setColumnHeaderHeight("40");

Any advice on this is appreciated.
Duane Gran
Wednesday, December 21, 2005
In version 20B3 the correct command is:
obj.setHeaderHeight("40");
Carlos
Wednesday, December 21, 2005
Thank you, Carlos. My table has two header rows. When I set the height property with the setHeaderHeight method all the rows 3 and beyond don't display. Have you seen this happen before? I don't have any javascript errors in the console to offer clues on this.
Duane Gran
Wednesday, December 21, 2005
If you search the firums you will see what you need to do. Search for "Multi Line Header". You have to put <br> in between ewach line and I think you have to set word wrap on. But the details are in another post, just search for it.
Jim Hunter
Wednesday, December 21, 2005

This topic is archived.


Back to support forum

Forum search