Currently working on a MVC 4 project, I get an error when using a group footer template for a field in a grid:
"#= sum #"
The above line results in an error
"Uncaught ReferenceError: sum is not defined"
when grouping the grid.
I've included a stand-alone proof-of-concept project. The file "Index.cshtml" contains some comments in line 91 and 99 to highlight the row that procudes the error.
My question is:
Could you please kindly take a look at my attached project and tell me how I should change the code so that the sum
is correctly printed in the footer of a cell?