Everything works fine when I use the drop down menu from the combo box. I can see unix dates because in the JSON data, I am feeding dates as string and this function is parsing it to Int :
geteditorvalue: function (row, cellvalue, editor) {
// return the editor's value.
return new Date(parseInt(editor.val()));
},
Hey @m_hutley, Good point. I think it’s not a number. From the Java web service I am getting a timestamp and that’s what is returning in the JSON and I am grabbing this value in Javascript. When I used alert(typeof editor.val());, I got undefined in the alert .
Do you think that I should make my Java webservice to return it as a string and the convert it to number while using in Java Script? Thanks