Browse Source

Correct TreeGrid documentation for expand and collapse

tags/8.1.0.alpha5
Aleksi Hietanen 7 years ago
parent
commit
cf7edf7a56
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      documentation/components/components-treegrid.asciidoc

+ 1
- 1
documentation/components/components-treegrid.asciidoc View File

@@ -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

Loading…
Cancel
Save