From: elmot Date: Wed, 6 Apr 2016 07:50:23 +0000 (+0300) Subject: Documentation for container switch limitations (#18323) X-Git-Tag: 7.7.0.alpha1~26^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2f71bce092badfc225d200e197ea217341d6ae8f;p=vaadin-framework.git Documentation for container switch limitations (#18323) Change-Id: Ib8ce5d82fe2c270296bf9196fec103edc1534d46 --- 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