3.2.0

setHeaderHeight - causes content overlap?

I've just encountered a problem in my evaluation version (on ffx 1.5, WinXP).

My grid looks good, but I've got long header names. So I'd like them to wrap. When I tried to do:

myGrid.setHeaderHeight("40px");

I get some strange behavior: My vertical scrollbar goes away (disabled - no scrolling handles) and the first row overlaps the header. So the First row's text is on top of my header text, and I cannot scroll.

help(?)

A broader question: is this the correct method to have wrapped headers? I tried putting break tags in the header text, but that had odd results too.

thanks.
PR
March 31,
The argument to setHeaderHeight() should be number -

myGrid.setHeaderHeight(40);


See also

http://www.activewidgets.com/grid.howto.headers/multiline-text.html
Alex (ActiveWidgets)
March 31,
thanks for the reply.

I've used your bit of code

myGrid.setHeaderHeight(40);


and the text no longer overlaps the header, but...

my scrollbar is still gone (!).
PR
March 31,
To add to the strangeness, if I use a strict doctype and add the following CSS:

.aw-grid-row {border-bottom: 1px solid threedlightshadow;}


The scrollbar appears. (I have to do both things, either one alone has no effect)

But... the scrollbar doesn't really work. If I use the scroll arrows, it'll work, but If I drag the scrollbar down half way (400+ rows) the data never refreshes.

PR
March 31,
Are you using 2.0 beta (not the final release)? If so, could you check with the trial version (based on 2.0 final) -

http://www.activewidgets.com/download/activewidgets-2.0.0-trial.zip

Alex (ActiveWidgets)
March 31,

This topic is archived.

See also:


Back to support forum