In my website I use the Kendo-grid.
In that grid, there is a column "Amount" with these values:
You see that there are dollar-signs before the amounts, but I want euro-signs.
The globalization-culture settings are correct, because when I show an amount outside the grid, it shows me the amount with a euro-sign.
I'm developing this website with ASP.NET MVC5. In my model I have this property:
[DisplayFormat(DataFormatString = "{0:c}")]
public decimal Amount { get; set; }
You see that I format my string to currency (and my globalization-culture settings are correct)
Could anyone help me please?
Note: It is not an option to convert the amount to a string, because I have to sort that column. And with strings, it is unable to sort numbers like normal decimals. Strings will be sorted like "1, 11, 2, 20, 3" instead of "1, 2, 3, ..."