or
<div id="container"> <div id="grid"></div> <script> $document.ready(function() { $("#grid").kendoGrid({ id: "gridList", dataSource: model, schema: { model: { fields: { IncidentType: { type: "string" }, Location: { type: "string" }, WatchDateTime: { type: "date" }, PostDateTime: { type: "date" } } }, pageSize: 10 }, height: 600, scrollable: true, sortable: true, pageable: { input: true, numeric: false }, columns: [ { field: "IncidentType", title: "Incident Type", width: 300 }, { field: "Location", title: "Location", width: 100 }, { field: "WatchDateTime", title: "Incident Date", width: 100 }, { field: "PostDateTime", title: "Post Date", width: 100 } ] }); }); </script></div>Trying to add a % sign to a number in a Kendo NumericTextBox. You suggest escaping the % sign as such:
$("#numeric").kendoNumericTextBox({
format: "# \%"
});
but when I give it a value of 3, it still gives me 300%!
From your documentation:
"%" - percentage placeholder Multiplies a number by 100 and inserts a localized percentage symbol in the result string. Note: '%' symbol is interpreted as a format specifier in the format string. If you need to prevent this, you will need to precede the '%' symbol with a backslash -
'kendo.toString(12, "# \%")'-> 12 % (en-us).


$('.timePicker').kendoTimePicker({ parseFormats: ["HH:mm"]});