Hi is the HierarchicalDataSource suppose to work with a Grid?
On the Kendo UI docs http://docs.kendoui.com/getting-started/framework/hierarchicaldatasource/overview looks like it is suppose to work but, when I tried only the 1st level show on the grid, all the details doesn't appear.
Am I doing something wrong or the kendo ui grid isn't suppose to work this way?
On the Kendo UI docs http://docs.kendoui.com/getting-started/framework/hierarchicaldatasource/overview looks like it is suppose to work but, when I tried only the 1st level show on the grid, all the details doesn't appear.
var gridDataSource = new kendo.data.HierarchicalDataSource({ transport: { read: { url: "/services/BookingTotals.ashx", dataType: "json" } }, schema: { model: { id: "Id", hasChildren: true, children: { transport: { read: { url: "/services/LocationBookingTotals.ashx", dataType: "json" } }, schema: { model: { hasChildren: true, id: "LocationId", children: { transport: { read: { url: "/services/ServClassBookingTotals.ashx", dataType: "json" } }, schema: { model: { hasChildren: false, id: "ServiceClassGlobalId", } } } } } } } }});$("#grid").kendoGrid({ groupable: false, scrollable: true, sortable: true, pageable: true, dataSource: gridDataSource});