Kendo Grid - Date column format changed after resetting data

2 posts, 0 answers
  1. Michael
    Michael avatar
    28 posts
    Member since:
    Jun 2015

    Posted 11 Dec 2017 Link to this post

    I have grid with date columns start_date, end_date and status_date. I defined column as 

    columns : [


       field: 'start_date',

       title: 'Start Date',

       format: '{0:dd-MMM-yyyy}'

    } ,

       field: 'end_date',
       title: 'End Date',
       format: '{0:dd-MMM-yyyy}'
    } ,

       field: 'status_date',
       title: 'Status Date',
       format: '{0:dd-MMM-yyyy}'
    } ]

    When I bind data at first time date formatted DD-MMM-YYYY (i.e. 01-Jan-2018) seems right. But when I'm trying to reset data the format has changed to DD-MM-YYYY (i.e. 01-01-2018).

    var data = results;

    var grid = $("#grid").data("kendoGrid");;


    Please help to fix this. Thanks

  2. Stefan
    Stefan avatar
    2737 posts

    Posted 13 Dec 2017 Link to this post

    Hello, Michael,

    Thank you for the provided information.

    I used a similar approach based on the provided code and it is working as expected on my end:

    If I missed an important detail please modify the example in order to reproduce the issue and I will gladly assist.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top