This question is locked. New answers and comments are not allowed.
I have a column which is an integer for which I need to put comma separated formatting in place. (ie. 34555 displays as 34,555). I added code to format the column as so:
This works fine on initial binding . However, when I click on a sort-able header column the data format changes and appears as:
3,4,555
I attached a picture to show the post sort behavior.
Notice the two commas, how can I fix this?
Thanks,
Andy
columns.Bound(o => o.Salary).Format("{0:#,###0}");This works fine on initial binding . However, when I click on a sort-able header column the data format changes and appears as:
3,4,555
I attached a picture to show the post sort behavior.
Notice the two commas, how can I fix this?
Thanks,
Andy