The documentation only lists a date format as an example:
For example, I'm looking to format currency values and long integers (for example vehicle mileage as 24,000 with a comma). I could format on the server but then the sort gets broken since, for example, it sorts currency as a string. Adding smart sorting would be another great solution I've seen elsewhere.
Thanks! Loving KendoUI so far!
$(".k-grid").kendoGrid({
dataSource: {
data: createRandomData(50),
pageSize: 10
},
columns: [
{
field: "BirthDate",
title: "Birth Date",
format: "{0:dd/MMMM/yyyy}" // <- Other formatting options available?
}
]
});
For example, I'm looking to format currency values and long integers (for example vehicle mileage as 24,000 with a comma). I could format on the server but then the sort gets broken since, for example, it sorts currency as a string. Adding smart sorting would be another great solution I've seen elsewhere.
Thanks! Loving KendoUI so far!