When i do an insert i see the !nativeeditor_status = inserted, !nativeeditor_status = deleted for delete, !nativeeditor_status= for update. How can i make the !nativeeditor_status to show updated when an update has been made to a row??
It may be updated in dhtmlxdataprocessor.js, but having empty value is informative enough on my opinion ( if data was not updated it would not send to server )
this.obj.setOnEditCellHandler(function(state,id,index){
var cell = self.obj.cells(id,index)
if(state==0){
}else if(state==1){
if(cell.isCheckbox()){
self.obj.setUserData(id,"!nativeeditor_status",“inserted”); //may be added
self.setUpdated(id,true)
}
}else if(state==2){
if(cell.wasChanged()){
self.obj.setUserData(id,"!nativeeditor_status",“inserted”); //may be added
self.setUpdated(id,true)
}
}
return true;
})