Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kenneth cho on Jan 07, 2009 17:56
open dhtmlx forum
when I write the new record in the existing cell, but not change in database

Dear sir,

Thank you for your reply our mail.
(1)I can read the existing records now, when I write the new record in the existing cell , but I saw the database don't change. I use the mssql server and mysql server.
I used your example "savedata_grid.html" as same time.

thanks.

Answer posted by Support on Jan 08, 2009 10:21
Beware that dataprocessor ( used in mentioned sample ) will not react on cell changes triggered by API calls, it will react only on edit operations initiated by user actions. 
If you need to update cell by API, you can force server update manually. 

grid.cells(id,ind).setValue(some);
dataproc.setUpdated(id,true); //force data saving