ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: michaelapospechova on February 06, 2018, 06:18:58 pm
-
Hi
If i delete content of cell by key delete, undo reverts previous value if I press CTRL+Z even if historyModel is disabled.
Tested on version 3.4.1 here http://jsfiddle.net/eLs8jyq6/ (http://jsfiddle.net/eLs8jyq6/)
Is it bug or wrong configuration?
-
That seems like a bug with historyModel.on
beforeValidate event can be used for the same:
beforeValidate: function(evt, ui) {
if (ui.source == 'undo' || ui.source == 'redo') {
return false;
}
}
http://jsfiddle.net/eLs8jyq6/1/