I have in the past made a parent/Children in AngularJS 1.5.5 using parentId in kendo grid.
this was the result :
Is it possible to obtain the same result in the new angular 17x with Kendo ?
I looked at the documentation but I couldn't find something related to parentId.
Kind regards
1 Answer, 1 is accepted
0
Zornitsa
Telerik team
answered on 15 Jan 2024, 12:48 PM
Hi Musab,
I have provided an answer to your question in the private support thread as the question is identical. Nevertheless, I will share my answer here as well since it can be useful for other people in the community who may experience a similar scenario:
In order to achieve the behavior, demonstrated in the shared screenshot, using the Kendo UI for Angular Grid, you could use the detail template feature of the component which also provides the dataItem for the current row. This feature enables you to display your data in a hierarchical order by configuring a separate detail Grid component, containing the child records, filtered by a parent key value. In your case, some nesting with several detail components would be needed to replicate the exact scenario.
For more detailed information, I am linking below our demo regarding Master-Detail Grids where you can also find a runnable example for a demonstration of the functionality:
On the other hand, based on the data visualization presented in the provided screenshot, I would suggest considering the Kendo UI for Angular TreeList as a more suitable component for achieving your scenario. Since the TreeList component's purpose is to represent hierarchical data in a tabular format, it would also be a more fitting alternative for displaying the data in your case.
You may refer to the following article to learn more details regarding the TreeList component and its usage: