Hi, how do i get values for the GROUP aggregates to use in my own function. This works with grid aggregates but I can't access the group aggregates for field "channel".
group: {
field: "channel", aggregates: [
{ field: "sales_7_days", aggregate: "sum" },
{ field: "current_inventory", aggregate: "sum" }
]
},
Then in the field:
groupFooterTemplate: "#=kendo.toString(doMath('weeks_inventory'), 'n1')#"
The function doMath is using ds.aggregates() which works for grid level but not for group level!
Please help!
Thanks!
group: {
field: "channel", aggregates: [
{ field: "sales_7_days", aggregate: "sum" },
{ field: "current_inventory", aggregate: "sum" }
]
},
Then in the field:
groupFooterTemplate: "#=kendo.toString(doMath('weeks_inventory'), 'n1')#"
The function doMath is using ds.aggregates() which works for grid level but not for group level!
Please help!
Thanks!