我有以下 Kendo UI Angular 网格:
<kendo-grid id="engagementGrid" options="engagementGridOptions"></kendo-grid>
控制器:
$scope.engagementGridOptions = {
dataSource: {
type: "json",
transport: {
read: "http://accountviewserver:8080/api/Engagement"
},
group: { field: "Name" }
},
sortable: true,
height: 200,
columns: [{
field: "Name",
width: "120px"
},{
field: "Project",
width: "200px"
},{
field: "StartDate",
width: "80px"
},{
field: "EndDate",
width: "80px"
},{
field: "PercentEngaged",
title: "% Engaged",
width: "50px"
}]
};
默认情况下使组折叠的正确 Kendo / Angular 语法是什么?