summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-04-10 17:30:37 +0300
committerIlia Motornyi <elmot@vaadin.com>2017-04-10 16:30:37 +0200
commitcf7edf7a56d71e39f59984234ea7ffa51db2c696 (patch)
treebfabf58f4363b8c5edad4bf47064a055046fa5ad
parent125d2a926c1bc7213e732da053cc7ea5cb019c50 (diff)
downloadvaadin-framework-cf7edf7a56d71e39f59984234ea7ffa51db2c696.tar.gz
vaadin-framework-cf7edf7a56d71e39f59984234ea7ffa51db2c696.zip
Correct TreeGrid documentation for expand and collapse
-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 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