Closed adm90 closed 6 years ago
You can change this $.fn.jexcel.ignoreEvents = true;
To $.fn.jexcel.ignoreEvents = false; on line 4011
Please, update for the most recent version from the master repo.
Thank you for your reply.
It did not work on change of line 4011.(from master repo) I changed the line 1995, problem was solved.
$.fn.jexcel.ignoreEvents = false; on line 1995 (function loadCells)
Thank you very much.
ver1.5.0~ than onChange does not work with Undo/Redo. Is there a way to catch event handling with the Undo/Redo function?
In this example, the Undo/Redo function is handled in the onchange event. (jquery.jexcel.js ver1.3.3) https://jsfiddle.net/paulhodel/0dyms2b9/
But, ver1.5.0~ than onchange does not work with Undo/Redo. (I replaced javascript file in jsfiddle and tried it) (jquery.jexcel.js ver1.5.2) (https://cdnjs.cloudflare.com/ajax/libs/jexcel/1.5.2/js/jquery.jexcel.js)
Event handler can not be caught in onchange function. Because undo function variable ignoreEvents is always true.
function flow(undo -> loadCells -> updateCells -> onchange)
undo function https://github.com/paulhodel/jexcel/blob/e29dadbbd98930a34be34899feedca2c9032571c/dist/js/jquery.jexcel.js#L3915
onchange function https://github.com/paulhodel/jexcel/blob/e29dadbbd98930a34be34899feedca2c9032571c/dist/js/jquery.jexcel.js#L2042-L2046
Is there a way to catch event handling with the Undo/Redo function? (or other events?)