diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2017-04-10 17:30:37 +0300 |
---|---|---|
committer | Ilia Motornyi <elmot@vaadin.com> | 2017-04-10 16:30:37 +0200 |
commit | cf7edf7a56d71e39f59984234ea7ffa51db2c696 (patch) | |
tree | bfabf58f4363b8c5edad4bf47064a055046fa5ad /documentation/components | |
parent | 125d2a926c1bc7213e732da053cc7ea5cb019c50 (diff) | |
download | vaadin-framework-cf7edf7a56d71e39f59984234ea7ffa51db2c696.tar.gz vaadin-framework-cf7edf7a56d71e39f59984234ea7ffa51db2c696.zip |
Correct TreeGrid documentation for expand and collapse
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 77f82d1c15..d5659cb556 100644 --- a/documentation/components/components-treegrid.asciidoc +++ b/documentation/components/components-treegrid.asciidoc @@ -95,7 +95,7 @@ treeGrid.expand(rootProject); treeGrid.collapse(childProject); ---- -To use the server-side API with a backend data provider the [methodname]#hashCode# method for the node's type must be implemented so that when the desired node is retrieved from the backend it has the same hash as the object passed to either [methodname]#expand# or [methodname]#collapse#. +To use the server-side API with a backend data provider the [methodname]#hashCode# and [methodname]#equals# methods for the node's type must be implemented so that when the desired node is retrieved from the backend it can be correctly matched with the object passed to either [methodname]#expand# or [methodname]#collapse#. [[components.treegrid.hierarchycolumn]] == Changing the Hierarchy Column |