summaryrefslogtreecommitdiffstats
path: root/documentation/components
diff options
context:
space:
mode:
authorSami Ekblad <sami@vaadin.com>2016-07-21 11:46:44 +0300
committerArtur Signell <artur@vaadin.com>2016-08-05 10:19:46 +0300
commitaf2f80201be6dfe927106667028637ee8f941998 (patch)
tree3f71edad1915cd6bbd701276579f8a8b4f8b8150 /documentation/components
parent34eb8d4c94b69a058c5a4fe5cf503df2aee006ce (diff)
downloadvaadin-framework-af2f80201be6dfe927106667028637ee8f941998.tar.gz
vaadin-framework-af2f80201be6dfe927106667028637ee8f941998.zip
Added notes to Tree and TreeTable about them using the old style data API.
Change-Id: I845a75b086bdf11f9c4545416c6126c404041ee8
Diffstat (limited to 'documentation/components')
-rw-r--r--documentation/components/components-tree.asciidoc5
-rw-r--r--documentation/components/components-treetable.asciidoc5
2 files changed, 10 insertions, 0 deletions
diff --git a/documentation/components/components-tree.asciidoc b/documentation/components/components-tree.asciidoc
index 864dbac5d6..b95f8bd2ae 100644
--- a/documentation/components/components-tree.asciidoc
+++ b/documentation/components/components-tree.asciidoc
@@ -12,6 +12,11 @@ ifdef::web[]
image:{live-demo-image}[alt="Live Demo", link="http://demo.vaadin.com/sampler/#ui/grids-and-trees/tree"]
endif::web[]
+[NOTE]
+====
+[classname]#Tree# still uses the old data API from Vaadin 7.
+====
+
The [classname]#Tree# component allows a natural way to represent data that has hierarchical relationships.
The user can drill down in the hierarchy by expanding items by clicking on the expand arrow, and likewise collapse items.
[classname]#Tree# is a selection component that allows selecting items.
diff --git a/documentation/components/components-treetable.asciidoc b/documentation/components/components-treetable.asciidoc
index 97dedd3e7c..9fdfd10c78 100644
--- a/documentation/components/components-treetable.asciidoc
+++ b/documentation/components/components-treetable.asciidoc
@@ -12,6 +12,11 @@ ifdef::web[]
image:{live-demo-image}[alt="Live Demo", link="http://demo.vaadin.com/sampler/#ui/grids-and-trees/tree-table"]
endif::web[]
+[NOTE]
+====
+[classname]#TreeTable# still uses the old data API from Vaadin 7.
+====
+
[classname]#TreeTable# is an extension of the [classname]#Table# component with
support for a tree-like hierarchy in the first column. As with
[classname]#Tree#, the hierarchy is determined by the parent-children