aboutsummaryrefslogtreecommitdiffstats
path: root/documentation/components
diff options
context:
space:
mode:
authorAlejandro J. C De Baca <acdebaca@users.noreply.github.com>2018-11-01 04:40:22 -0400
committerSun Zhe <31067185+ZheSun88@users.noreply.github.com>2018-11-01 10:40:22 +0200
commit4d053a9c1ce1ef0ac63769867c4f89f74a99de26 (patch)
tree71b3c62614038ccfe1e85de530ac5253acf0a3b9 /documentation/components
parent242ee1c15a17bed92245a02fac944bddb425dc3e (diff)
downloadvaadin-framework-4d053a9c1ce1ef0ac63769867c4f89f74a99de26.tar.gz
vaadin-framework-4d053a9c1ce1ef0ac63769867c4f89f74a99de26.zip
Corrected method name TreeDataProvider#getTreeData (#11286)
* Corrected method name TreeDataProvider#getTreeData The method name was incorrect in the documentation - was showing `getData()` but should be `getTreeData()`.
Diffstat (limited to 'documentation/components')
-rw-r--r--documentation/components/components-treegrid.asciidoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-treegrid.asciidoc b/documentation/components/components-treegrid.asciidoc
index f3c2c88a93..d6392f3339 100644
--- a/documentation/components/components-treegrid.asciidoc
+++ b/documentation/components/components-treegrid.asciidoc
@@ -56,7 +56,7 @@ an [classname]#TreeDataProvider# with [classname]#TreeData# is used. If at any t
----
TreeDataProvider<Project> dataProvider = (TreeDataProvider<Project>) treeGrid.getDataProvider();
-TreeData<Project> data = dataProvider.getData();
+TreeData<Project> data = dataProvider.getTreeData();
// add new items
data.addItem(null, newProject);
data.addItems(newProject, newProject.getChildren());