I have the following Kendo UI Angular grid:
<kendo-grid id="engagementGrid" options="engagementGridOptions"></kendo-grid>
Controller:
$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"
}]
};
What is the proper Kendo / Angular syntax to make the group collapsed by default?