diff options
author | Alejandro J. C De Baca <acdebaca@users.noreply.github.com> | 2018-11-01 04:40:22 -0400 |
---|---|---|
committer | Sun Zhe <31067185+ZheSun88@users.noreply.github.com> | 2018-11-01 10:40:22 +0200 |
commit | 4d053a9c1ce1ef0ac63769867c4f89f74a99de26 (patch) | |
tree | 71b3c62614038ccfe1e85de530ac5253acf0a3b9 /documentation/components | |
parent | 242ee1c15a17bed92245a02fac944bddb425dc3e (diff) | |
download | vaadin-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.asciidoc | 2 |
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()); |