I don't have any code where the solution is set, because I am using Ext JS 3.0. In this version the reading/writing from the databases are done for you.
Main Topics
Browse All TopicsI have a setup that follows the Ext.data.DataWriter Example on the Ext JS site, with the exception that I didn't extend any classes. The create, update, read, destroy is all working perfectly fine with the grid. All the columns are working perfectly fine except for the date column. What happens is when the grid loads the data and is first rendered, all the columns are read in like they should be except for the date column. The date column all read NaN/NaN/NaN, and the data is coming in fine from the json source as can be seen from Firebug.
Anyways, the date field editor is working just fine as I can set a date, save the record, and it goes into the database just fine (I doublechecked in phpmyadmin). I have a feeling the issue might have to do with the format of the date data, which is saved/loaded like this: "2009-09-02T00:00:00"
I will attach a screenshot of what it looks like and my code.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I just got a solution over at the Ext JS Forums, https://www.extjs.com/foru
Daniel
Business Accounts
Answer for Membership
by: gazdzidPosted on 2009-09-15 at 05:58:42ID: 25334346
I recieved the same error but it was soved adding " *1" to the equation. where the field is set add (*1). I hope this hepls. This sololution, I believe it converts a string to a number. I believe NANANA stand for "not a number"
please see below
var x = ((c[1])*1)//duration quantity of days