From cf7edf7a56d71e39f59984234ea7ffa51db2c696 Mon Sep 17 00:00:00 2001 From: Aleksi Hietanen Date: Mon, 10 Apr 2017 17:30:37 +0300 Subject: Correct TreeGrid documentation for expand and collapse --- documentation/components/components-treegrid.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/components') 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 -- cgit v1.2.3