diff options
Diffstat (limited to 'slick.grid.js')
-rw-r--r-- | slick.grid.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/slick.grid.js b/slick.grid.js index ec8ce84..398bd2d 100644 --- a/slick.grid.js +++ b/slick.grid.js @@ -3149,10 +3149,20 @@ if (typeof Slick === "undefined") { execute: function () {
this.editor.applyValue(item, this.serializedValue);
updateRow(this.row);
+ trigger(self.onCellChange, {
+ row: activeRow,
+ cell: activeCell,
+ item: item
+ });
},
undo: function () {
this.editor.applyValue(item, this.prevSerializedValue);
updateRow(this.row);
+ trigger(self.onCellChange, {
+ row: activeRow,
+ cell: activeCell,
+ item: item
+ });
}
};
@@ -3164,11 +3174,6 @@ if (typeof Slick === "undefined") { makeActiveCellNormal();
}
- trigger(self.onCellChange, {
- row: activeRow,
- cell: activeCell,
- item: item
- });
} else {
var newItem = {};
currentEditor.applyValue(newItem, currentEditor.serializeValue());
|