I’m using jqgrid and have columns that display date but from the server the date comes in json format as below,
"CommentedDate": "\/Date(1304324941000+0530)\/"
How I can display the date correctly in MM/dd/yyyy format?
Vijaya Anand
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use predefined formatter
'date'and jqGrid 4.0 it should work automatically. Try for example with the following properties for the column having the date: