summaryrefslogtreecommitdiffstats
path: root/documentation/datamodel/datamodel-container.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/datamodel/datamodel-container.asciidoc')
-rw-r--r--documentation/datamodel/datamodel-container.asciidoc5
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