:: Forum >>

No horizontal scroll bar

I've been successfully using the grid widget for a while, but I'm running into a case (Mozilla) where I get no horizontal scroll bar despite the fact that I have more columns than are displayed. If I resize a column even slightly, the scroll bar appears.

Is there a way to force the scroll bar to appear or to make a call to tell the grid to do an "resize" itself so that it recalculates the need for a scroll bar?

Thanks!
Tuesday, January 27, 2004
This is a bug I am aware of but it is not solved yet. To force a grid size recalc you can call:

obj.getTemplate("layout").action("adjustSize");

You may need to call this after some delay, because this method currently takes column sizes from the HTML, i.e. it expects that the grid is already rendered.
Alex (ActiveWidgets)
Wednesday, January 28, 2004

Thanks - That seemed to work!

Thursday, January 29, 2004
where do i add that line of code?
William
Wednesday, November 23, 2005
before
document.write(obj);
dan
Friday, December 2, 2005

This topic is archived.


Back to support forum

Forum search