diff options
author | Artur Signell <artur.signell@itmill.com> | 2010-02-23 10:17:00 +0000 |
---|---|---|
committer | Artur Signell <artur.signell@itmill.com> | 2010-02-23 10:17:00 +0000 |
commit | d3d39ab75f25555ed1c58d6fe727d1d25d489a61 (patch) | |
tree | 166d5d26f182b45aa5f00f674e2466302aa27362 /src/com/vaadin/ui/Table.java | |
parent | 73ecd7f2a42e09868e4fd9c91073867c809836a2 (diff) | |
download | vaadin-framework-d3d39ab75f25555ed1c58d6fe727d1d25d489a61.tar.gz vaadin-framework-d3d39ab75f25555ed1c58d6fe727d1d25d489a61.zip |
Merged [11391],[11473],[11474],[11475],[11477] from 6.2
Fix and test case for #4222
svn changeset:11485/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/ui/Table.java')
-rw-r--r-- | src/com/vaadin/ui/Table.java | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/com/vaadin/ui/Table.java b/src/com/vaadin/ui/Table.java index 0563756d40..3804f8979e 100644 --- a/src/com/vaadin/ui/Table.java +++ b/src/com/vaadin/ui/Table.java @@ -36,14 +36,20 @@ import com.vaadin.terminal.gwt.client.ui.VScrollTable; /** * <p> - * <code>TableComponent</code> is used for representing data or components in - * pageable and selectable table. + * <code>Table</code> is used for representing data or components in a pageable + * and selectable table. * </p> * * <p> - * Note! Since version 5, components in Table will not have their caption nor - * icon rendered. In order to workaround this limitation, wrap your component in - * a Layout. + * Scalability of the Table is largely dictated by the container. A table does + * not have a limit for the number of items and is just as fast with hundreds of + * thousands of items as with just a few. The current GWT implementation with + * scrolling however limits the number of rows to around 500000, depending on + * the browser and the pixel height of rows. + * </p> + * + * <p> + * Components in a Table will not have their caption nor icon rendered. * </p> * * @author IT Mill Ltd. @@ -502,6 +508,8 @@ public class Table extends AbstractSelect implements Action.Container, } // Assures the visual refresh + // FIXME: Is this really needed? Header captions should not affect + // content so requestRepaint() should be sufficient. resetPageBuffer(); refreshRenderedCells(); } @@ -971,6 +979,8 @@ public class Table extends AbstractSelect implements Action.Container, columnHeaders.put(propertyId, header); // Assures the visual refresh + // FIXME: Is this really needed? Header captions should not affect + // content so requestRepaint() should be sufficient. refreshRenderedCells(); } |