I am trying to implement the Hierarchy with asp.net core razor grid. The child detail rows are not coming up. Can you please help me with this issue
@(Html.Kendo().Grid < Orders.Models.Case>
                                ().Name("grid")
                                //.Groupable()
                                .Sortable()
                                .Scrollable()
                                .Filterable()
                                 .ToolBar(t => t.Search())
                                 .Resizable(resize => resize.Columns(true))
                                //.ToolBar(x => x.Create())
                                .Columns(columns =>
                                {
                                    columns.Bound(column => column.EmpId).Stickable(true);
                                    columns.Bound(column => column.Name);
                                    columns.Bound(column => column.Type);
                                    //columns.Command(column =>
                                    //{
                                    //    column.Edit();
                                    //    column.Destroy();
                                    //}).Width(230);
                                })
                                .ToolBar(tools => tools.Excel()).Excel(excel => excel.FileName("cases.xlsx"))
                                .Excel(excel => excel.AllPages(true))
                                 .Reorderable(reorder => reorder.Rows(true).Columns(true))
                                .DataSource(ds => ds.Ajax()
                                .Read(r => r.Url("/Index?handler=Read").Data("forgeryToken"))
                                .ServerOperation(false)
                              
                                .PageSize(10)
                                )
                                .Pageable()
                                .Pageable(pageable => pageable.PageSizes(new int[] { 5, 10, 20, 100 }))
                                .ClientDetailTemplateId("template")
)
<script>
    function forgeryToken() {
        return kendo.antiForgeryTokens();
    }
</script>
@(Html.Kendo().Grid<CobbJudicialRecordsSrch.Models.CaseOffenses>()
.Name("grid_#=CaseId#") // template expression, to be evaluated in the master context
.Columns(columns =>
{
columns.Bound(o => o.OrderId).Width(110);
columns.Bound(o => o.OrderDescription).Width(150);
columns.Bound(o => o.OrderName).Width(150);
//columns.Bound(o => o.Dispositon).ClientTemplate("\\#= ShipAddress \\#"); // escaped template expression, to be evaluated in the child/detail context
//columns.Bound(o => o.ShipName).Width(300);
})
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read.Action("HierarchyBinding_Orders", "Grid", new { employeeID = "#=empId#" }))
)
.Pageable()
.Sortable()
.ToClientTemplate()
)
</script>
<script>
function dataBound() {
this.expandRow(this.tbody.find("tr.k-master-row").first());
}
</script>

