From: Matti Tahvonen Date: Tue, 8 Sep 2009 09:41:59 +0000 (+0000) Subject: opened client side table so that developers have a changes to build custom table... X-Git-Tag: 6.7.0.beta1~2498 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=06697c97ff13dc62c084f9795bb5ba7621923afb;p=vaadin-framework.git opened client side table so that developers have a changes to build custom table implementation with "overflow:scroll" svn changeset:8702/svn branch:6.1 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java index 6f66aed047..e35d8993a4 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java @@ -751,7 +751,13 @@ public class VScrollTable extends FlowPanel implements Table, ScrollHandler { } } - private boolean willHaveScrollbars() { + /** + * Note, this method is not official api although declared as protected. + * Extend at you own risk. + * + * @return true if content area will have scrollbars visible. + */ + protected boolean willHaveScrollbars() { if (!(height != null && !height.equals(""))) { if (pageLength < totalRows) { return true;