I am trying to dynamically nest grids within a kendo grid, up to 10 levels deep. Is there a good approach you can recommend to dynamically nest the ng-template data so it doesn't look bloated? This is only three hardcoded levels of nesting and already is bloated. Thanks in advance!
<
kendo-grid
>
<
kendo-grid-column
field
=
"ProductID"
title
=
"ID"
width
=
"40"
></
kendo-grid-column
>
<
ng-template
kendoGridDetailTemplate let-dataItem>
<
kendo-grid
>
<
kendo-grid-column
field
=
"ProductID"
title
=
"ID"
width
=
"40"
></
kendo-grid-column
>
<
ng-template
kendoGridDetailTemplate let-dataItem>
<
kendo-grid
>
<
kendo-grid-column
field
=
"ProductID"
title
=
"ID"
width
=
"40"
></
kendo-grid-column
>
<
ng-template
kendoGridDetailTemplate let-dataItem>
</
ng-template
>
</
kendo-grid
>
</
ng-template
>
</
kendo-grid
>
</
ng-template
>
</
kendo-grid
>