how to assign dataSource to DetailgridOptions(dataItem)
问题 I have a kendo grid which has buttons in every row, On click the buttons open a pop-up with different grid on each button click, and there is a detail teamplate in each row of pop-up grid which contains another grid. Now the problem is how to assign dataSource to the 3rd grid when detailGridOptions(dataItem) function is called. var p=0; $scope.detailGridOptions = function (dataItem) { return { dataSource: new kendo.data.DataSource({ schema: { model: { id: 'Id', fields: { Id: { type: 'number'