Hi, Is it possible to have the footerTemplate call a function in the Angular controller? So in the controller (using controllerAs) you have a function and the template looks something like:
columns: [
{
field:
"locationCode1"
,
title:
"John"
,
width: 200,
footerTemplate:
"<div>Total Days Worked: #: vm.getTotal() #</div>"
},
where vm is the controller set using controllerAs and getTotal is the function in the controller. I've tried #; and #= and I cant get it to find "vm", so it appears its not evaluated in the right scope, maybe there is a field in the scope which will get me to the controller?