Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Benson on Jun 18, 2007 09:59
open dhtmlx forum
Smart Save?

how to smart save changed data in Grid back to DB? I means just save changed value without modifing all values in DB? after changed some values in Grid, the function serialize() wrote back all values in Grid, how could i just get the changed ones without getting all?
Answer posted on Jun 18, 2007 15:04
You can adjust serialize functionality by
    grid.setSerializationLevel

for example next command will produce XML serialization which include only rows which has changed cells, and such cells will have "changed" attrubute
    grid.setSerializationLevel(false,false,false,true,true);
    var z=grid.serialize();


Answer posted by Inga (Support) on Dec 02, 2014 14:55

To find more precise comments upon this issue, we can offer you read about javascript tab navigation and javascript upload file.