[progress Communities] [progress Openedge Abl] Forum Post: Re: Add Footer With Summary

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello Bert, > 1) TypeError: functions[functionName.toLowerCase(...)] is not a function > .aggregate([{} field: "count", aggregate: "sum", format: "c"]) This error message indicates that the aggregate function specified is not a function. Is the aggregate line above what you are using? The value of the aggregate property should be just "sum". A format is not part of the function name. Also, notice that the curly braces are not enclosing the object. It should look like: $scope._$ds['CustomerDS'].aggregate([{ field: "count", aggregate: "sum" } ]); 2) Just tell me, I really cannot find the option I need, probably something like: Perhaps, what you would need to do to show the value as a currency is to make use of the kendo.toString() function. this.scope.customerGrid.options.columns.footerTemplate = ' Sum: #= kendo.toString(sum, "c0") # '; Related links: docs.telerik.com/.../datasource docs.telerik.com/.../numberformatting I hope this helps,

Continue reading...
 
Status
Not open for further replies.
Back
Top