Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Date column formatting in export to excel
posted

My data contains dates in microsoft json format  /Date(1335205592410)/  

The IgGrid nicely formats them automatically when I set the dataType to date.

When exporting to excel the sheet contains the json date. How could I format the date dd/mm/yyyy ? Is there a setting or do I have to write something in

cellExporting: function (e, args) { 
 if (args.columnKey == "MyDateField") {
 ..............
 }
}