We use a table with autoSafe:true and valide something in the event methode onBeforeSave
ddv.edatagrid({
pagination: true,
singleSelect:true,
autoSave: true,
columns:[[
{fields ...}
]],
onBeforeSave: function(index) {
//check special flags
if(!handleCheckMigrationSuccessfulAndFallbackFlags($(this), index)) {
return false;
}
return true;
}
...
});
The autosave works fine if the result of onBeforeSave is true.
But after the first time onBeforeSave returns false
and changing the row fields so that onBeforeSave return true
the autosave is not working any more.
What can be here the problem?