Saturday, 16 March 2013

Kendo grid Column Date format

 columns: [
{
       field: "CreatedDate" , format: "{0:yyyy-MM-dd hh:mm:ss}"

       , template: '#= kendo.toString(new Date(parseInt(CreatedDate.replace(/[A-Za-z$--/]/g, ""))),"dd-MM-yyyy") #'
}

No comments:

Post a Comment