Skip to content

Commit d1c15c0

Browse files
ugur-vaadinvursen
andauthored
Update articles/components/tree-grid/index.adoc
Co-authored-by: Sergey Vinogradov <[email protected]>
1 parent 7814f9a commit d1c15c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/components/tree-grid/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ include::{root}/src/main/java/com/vaadin/demo/component/treegrid/TreeGridScrollT
144144
----
145145
--
146146

147-
To use this feature, the data provider needs to implement [methodname]#getParent()# and [methodname]#getItemIndex()#.
147+
`TreeDataProvider` supports this feature out of the box. For other data providers, you will need to implement [methodname]#getParent(T item)# and [methodname]#getItemIndex(T item, HierarchicalQuery query)#.
148148

149149
=== Scrolling to an Item by Path
150150

0 commit comments

Comments
 (0)