kendo ui grid date column - control the format of date sent by filter operation -
how control format of date sent server result of applying date filter grid column. example, have following view
<script type="text/javascript"> $("#request-grid").kendogrid({ datasource: { ... schema: { model: { fields: { createdon: { type: "date" }, ... } } } }, columns: [{ field: "id", title: "id", width: 20 }, { field: "createdon", title: "created on", width: 75, format: "{0:dd-mm-yyyy}" }, { command: ["edit", "destroy"], width: 200 }], }); </script> with when try filter date column (createdon), see parameter sent in format
wed mar 12 2014 00:00:00 gmt+0530 (india standard time).
how control format of date being sent server result of applying date filter on grid column.
i have followed procedure of setting culture described here. here how configured in layout page.
kendo.timezones.js , kendo.culture.en-in.js included through bundle <script type="text/javascript"> kendo.culture("en-in"); </script> any advice please.
if chaging culture not doing work. function need use called parametermap under datasource.transport configuration.
Comments
Post a Comment