Reputation: 24122
How do I format a grid cell to use £s instead of the default $s?
I have looked high and low but there is no answer.
I have:
{field: "price", title: "Price (£)", width: 95, format: "{0:c}"},
Which gives $0.00, but how do I get £0.00?
I have tried calling:
kendo.culture("en-gb");
Before the grid but it does nothing.
Upvotes: 8
Views: 12831
Reputation: 30671
You should first make sure the English culture JavaScript file is included. Then call kendo.culture("en-GB")
(the casing is important).
More info can be found in the globalization help topic.
Upvotes: 10