This question is locked. New answers and comments are not allowed.
Hello , I'm trying out your grid.
I have a big problem , I'm trying to show children results hierarchicaly but no luck with that .
Here is my code :
as you can see I am trying to approach by complex key .
Is there a solution for it ?
I have a big problem , I'm trying to show children results hierarchicaly but no luck with that .
Here is my code :
<%= Html.Telerik().Grid<Egged.Tnua.Definition.Infra.Entities.Sample>() .Name("Samples") .Columns(columns => { columns.Bound(e => e.Makat).Width(30); columns.Bound(e => e.Chalufa).Width(10); columns.Bound(e => e.DateCreate).Width(50); }) .ClientEvents(events => events.OnRowDataBound("samples_onRowDataBound")) .DetailView(details => details.ClientTemplate( Html.Telerik().Grid<Egged.Tnua.Definition.Infra.Entities.BusStation >() .Name("BusStations_<#= Id #>_ <#= CreationDate #>") .Columns(columns => { columns.Bound(o => o.Name ).Width(50); columns.Bound(o => o.CityName).Width(50); columns.Bound(o => o.QuarterName).Width(50); columns.Bound(o => o.StationTypeName).Width(50); columns.Bound(o => o.EntranceTypeName).Width(50); }) .ClientEvents(events => events.OnRowDataBound("busStations_onRowDataBound")) .DataBinding(dataBinding => dataBinding.Ajax().Select("_BusStationsHierarchyAjax", "Sample", new { Id = "<#= Id #>", CreationDate = "<#= CreationDate #>" })) .Pageable() .Sortable() .Filterable() .ToHtmlString() )) .DataBinding(dataBinding => dataBinding.Ajax().Select("_SamplesHierarchyAjax", "Sample")) .Pageable(paging => paging.PageSize(5)) .Scrollable(scrolling => scrolling.Height(580)) %>
as you can see I am trying to approach by complex key .
Is there a solution for it ?