This question is locked. New answers and comments are not allowed.
Hi,
I have a collection of Process objects, each with a property called "Items" that is another collection of Process Objects, so I would like to be able to display the Items property as a grid inside the ClientTemplate section however I'm not quite sure how to go about accomplishing this.
Also, is it possible to have the header removed?
I also tried the following as well, but the only result was that it shifted everything by one column and left one column empty:
Any help is appreciated.
Thanks,
I have a collection of Process objects, each with a property called "Items" that is another collection of Process Objects, so I would like to be able to display the Items property as a grid inside the ClientTemplate section however I'm not quite sure how to go about accomplishing this.
Also, is it possible to have the header removed?
<% Html.Telerik().Grid<Process>() .Name("SomeName") .Columns(columns => { columns.Bound(e => e.Type).Title("Type").Width(50); }) .DetailView(details => details.ClientTemplate( %><% Html.Telerik().Grid<Process>("<#= Items #>") .Name("Name" ) .Columns(columns => { columns.Bound("Name").Title("Name").Width(50); }) .Footer(false) .ToHtmlString() %><% )) .ClientEvents(events => events.OnDataBinding("onDataBindingDoSomething")) .Pageable(paging => paging.PageSize(20)) .Sortable() .Render(); %>I also tried the following as well, but the only result was that it shifted everything by one column and left one column empty:
.DetailView(detailView => detailView.Template(e => { %> <% Html.Telerik().Grid(e.Items) .Name("Orders_" + e.ID) .Columns(columns => { columns.Bound(ea => ea.Name); }); %> <% }))Any help is appreciated.
Thanks,