Hi,
I am having data in json format as input to jqxGrid.
One of the field is a date with format “yyyy-MM-ddTHH:mm:ss.fff”.
I wanted to display the date in “MM/dd/yyyy hh:mm:ss tt” format in the grid
The following code i am using:
`datafields: [
{ name: ‘createdDate’, type: ‘date’, format: ‘yyyy-MM-ddTHH:mm:ss.fff’ }]`
columns: [ { text: 'Research Date', datafield: 'createdDate', cellsalign: 'left', cellsformat: 'MM/dd/yyyy hh:mm:ss tt', hidden: true }]
But i am getting standard javascript date fromat.
Example : input = “2013-04-25T09:24:02.8”
Output= “2013-04-25T09:24:02.08”