Thousand Separator on Footer Sum

QuestionsThousand Separator on Footer Sum
Gary Brett asked 10 years ago

Hello there, I have added a footer Total to a grid which outputs £606215.00, is there a method to add format as £606,215.00

<script>
function grid_onload()
{
var grid = $("#list1"),
sum = grid.jqGrid('getCol', 'Total', false, 'sum');

grid.jqGrid('footerData','set', {Total: '£ '+sum.toFixed(2)}, false);

}
</script>

Thanks

1 Answers
Your Answer

19 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?