How do I format the aggregate value for a column in ui-grid?
With my numbers I get something horrible like
total: 6370.046074130321
when I would like
total: $6370.05
I tried both:
footerCellTemplate: '<div class="ui-grid-cell-contents" >{{COL_FIELD | currency}}</div>',
and
footerCellTemplate: '<div class="ui-grid-cell-contents" >{{grid.getCellValue(row, col) | currency}}</div>',
but none of them work.
valueToFormat
that I need. As you can see from my original question I have already done that ( | currency) but I am usingCOL_FIELD
which doesn't appear to be correct. – Harty