Open GoogleCodeExporter opened 9 years ago
Original comment by ecc%google.com@gtempaccount.com
on 19 Jun 2008 at 2:58
After inspecting with firebug, I notice that the dataWrapper div has height set
to
"0px". If I tweak it within firebug, I can force the table to render.
I've managed to hack around this by subclassing the original ScrollTable and
overriding the resizeTablesVerticallyNow() method like so:
protected void resizeTablesVerticallyNow() {
super.resizeTablesVerticallyNow();
if ("0px".equals(DOM.getStyleAttribute(getDataWrapper(), "height")) && forceHeight
!= null && !"0px".equals(forceHeight)) {
DOM.setStyleAttribute(getDataWrapper(), "height", forceHeight);
}
}
I've also added a setter for forceHeight on the class.
This is obviously a fragile fix, but seems to work for now.
Original comment by jjo...@gmail.com
on 29 Jun 2008 at 12:29
Thanks i am having the same problem and will give your solution a try!
Original comment by nix...@gmail.com
on 29 Oct 2008 at 8:35
Four years later, same bug, workaround still works -- although now it's
overriding redraw() instead of resizeTablesVerticallyNow().
Original comment by camer...@gmail.com
on 22 Jun 2012 at 8:24
Original issue reported on code.google.com by
Tri...@gmail.com
on 16 Jun 2008 at 11:55