Skip to content

Commit 2b7c71a

Browse files
committed
docs: specify class name for which to implement the methods
1 parent 7e923ab commit 2b7c71a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/components/tree-grid/index.adoc

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

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)#.
147+
`TreeDataProvider` supports this feature out of the box. For other data providers, you need to override and implement the following methods of [classname]`HierarchicalDataProvider`:
148+
149+
- [methodname]#getParent(T item)#
150+
- [methodname]#getItemIndex(T item, HierarchicalQuery query)#
148151

149152
=== Scrolling to an Item by Path
150153

0 commit comments

Comments
 (0)