And do we have some sample code if this is possible?
Thanks!
J
1 Answer, 1 is accepted
0
Accepted
Zornitsa
Telerik team
answered on 14 Mar 2024, 03:13 PM
Hi Jaime,
To achieve such kind of behavior with our Grid component, the developer could implement a Master-Detail Gridby utilizing the detail template directive of the component. For more information, I am linking below an article explaining the detail row template, where you can also find a runnable example for a demonstration of the functionality:
Nevertheless, based on the data visualization in the snippet that indicates a file structure, I would recommend utilizing the Kendo UI for Angular TreeList as a more suitable alternative for this case. This component would be better appropriate for your scenario since its purpose is to represent hierarchical data out of the box.
Below you can find a StackBlitz example that illustrates a scenario, similar to yours, implemented with the TreeList component: