Forum
22:53
29/10/2011
I'm having trouble saving dates back to mysql db. The grid I have shows the date correctly after I press enter (after performing the inline edit), but then when I refresh the entire page and the grid requeries the db, I can see that the new date was never saved, but instead the date shows up as 1970-01-01.
I noticed this is also the case with the jgGrid Demo:
http://www.trirand.net/demophp.aspx
- From the menu on left, select "Edit, Add, Delete, Rows"
- Then select "Inline Editing - autocomplete, datepicker"
Try to change the date! The grid will display it accurately after pressing enter, but then when you refresh the page, it will just go to 1970-01-01.
Please help! I need to be able to edit my dates! If someone could just show me why the demo isn't working, I could probably apply it to my code too.
Most Users Ever Online: 715
Currently Online:
43 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66