diff options
author | elmot <elmot@vaadin.com> | 2016-04-06 10:50:23 +0300 |
---|---|---|
committer | elmot <elmot@vaadin.com> | 2016-04-08 14:57:10 +0300 |
commit | 2f71bce092badfc225d200e197ea217341d6ae8f (patch) | |
tree | 6ead95375956372bf1984ecace68870a90c9f22d /documentation | |
parent | 822d72fef7e876a57efaffeb885f21548792fa53 (diff) | |
download | vaadin-framework-2f71bce092badfc225d200e197ea217341d6ae8f.tar.gz vaadin-framework-2f71bce092badfc225d200e197ea217341d6ae8f.zip |
Documentation for container switch limitations (#18323)
Change-Id: Ib8ce5d82fe2c270296bf9196fec103edc1534d46
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/datamodel/datamodel-container.asciidoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/documentation/datamodel/datamodel-container.asciidoc b/documentation/datamodel/datamodel-container.asciidoc index c68e4bec4e..5e610cd671 100644 --- a/documentation/datamodel/datamodel-container.asciidoc +++ b/documentation/datamodel/datamodel-container.asciidoc @@ -87,7 +87,10 @@ Creation of the container depends on its type. For some containers, such as the (columns) as was done above, while some others determine them otherwise. The definition of a property with [methodname]#addContainerProperty()# requires a unique property ID, type, and a default value. You can also give -[parameter]#null#. +[parameter]#null#. If the container of a component is replaced and the new container +contains a different set of columns, such as a property with the same ID but a +different data type, the component should be reinitialized. For a table or grid, +it means redefining their columns. Vaadin has a several built-in in-memory container implementations, such as [classname]#IndexedContainer# and [classname]#BeanItemContainer#, which are easy |