You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases , e.g. when editing new row in grid , autoSave may not be performed because id of new record
is not yet known in database.
In this case, autoSave could be prohibited by calling autoSave function
function setProperty(grid, cellElement, oldValue, value){
....
// perform auto-save (if applicable) in next tick to avoid
// unintentional mishaps due to order of handler execution
var autoSaveDo=false;//tshvr4
if(typeof column.autoSave=='function') autoSaveDo=column.autoSave(row,column,value);
else autoSaveDo=column.autoSave;
//column.autoSave && setTimeout(function(){var x=grid._trackError("autoSave");console.log('tshvr4 editor _trackErro x=',x);},0);
autoSaveDo && setTimeout(function(){var x=grid._trackError("autoSave");console.log('tshvr4 editor _trackErro x=',x);},0);
...
return value;
}
The text was updated successfully, but these errors were encountered:
In some cases , e.g. when editing new row in grid , autoSave may not be performed because id of new record
is not yet known in database.
In this case, autoSave could be prohibited by calling autoSave function
function setProperty(grid, cellElement, oldValue, value){
....
// perform auto-save (if applicable) in next tick to avoid
// unintentional mishaps due to order of handler execution
var autoSaveDo=false;//tshvr4
if(typeof column.autoSave=='function') autoSaveDo=column.autoSave(row,column,value);
else autoSaveDo=column.autoSave;
//column.autoSave && setTimeout(function(){var x=grid._trackError("autoSave");console.log('tshvr4 editor _trackErro x=',x);},0);
autoSaveDo && setTimeout(function(){var x=grid._trackError("autoSave");console.log('tshvr4 editor _trackErro x=',x);},0);
...
return value;
}
The text was updated successfully, but these errors were encountered: