columns.format String

The format that is applied to the value before it is displayed. Takes the form "{0:format}" where "format" is a standard number format, custom number format, standard date format or a custom date format.

The kendo.format function is used to format the value.

Example - specify the column format string

<div id="grid"></div>
  columns: [ {
    field: "date",
    format: "{0: yyyy-MM-dd HH:mm:ss}"
  }, {
    field: "number",
    format: "{0:c}"
  } ],
  filterable: true,
  dataSource: [ { date: new Date(), number: 3.1415 } ]
In this article
Not finding the help you need? Improve this article