Skip to content

Commit fe386a7

Browse files
docs(grid): hint to use tree components instead of nesting grids (#536)
1 parent d52a727 commit fe386a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

knowledge-base/grid-three-level-hierarchy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ I'm trying to see more than 1 level of hierarchy in my grid but i don't know how
1616

1717
## Solution
1818

19+
>tip If you don't know how many levels of nesting you have, consider using the [Treelist](https://demos.telerik.com/blazor-ui/treelist/overview) or [TreeView](https://demos.telerik.com/blazor-ui/treeview/overview) component instead. A grid is generally designed for flat data, while the TreeList and TreeView are designed for hierarchical data.
20+
1921
Put nested `<TelerikGrid>` instances in the `DetailTemplate` of their parents. This allows you to have multiple levels of nested grids. The example below shows a three-level hierarchy.
2022

2123
>note It is important to use named `context` variables, otherwise such code will not compile. Read more [here]({%slug nest-renderfragment%}).

0 commit comments

Comments
 (0)