In the this documentation, you define a 'group' field that stores three fields - field
, value
and items
. However, I am having trouble accessing this object in function notation.
let IsActive: kendo.ui.GridColumn = {
field: "IsActive",
title: "Active",
aggregates: ["group"],
template: `<span data-columnName="IsActive">#= IsActive #</span>`,
groupFooterTemplate: (data: any, group: any) => {
return group.items[0].Name
}
}
See that 'group' is not defined in this context. How can I reference this in function notation?
Note: Data IS defined but does not include any group information.