From 31ef0192e2671e5659d64a8df6fddc03be372993 Mon Sep 17 00:00:00 2001 From: jshensh Date: Sun, 9 Jul 2017 14:27:21 +0800 Subject: [PATCH] Add new callback 'onEditRowInserted' --- src/jsgrid.core.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jsgrid.core.js b/src/jsgrid.core.js index 17eb12e4..83abfa5e 100755 --- a/src/jsgrid.core.js +++ b/src/jsgrid.core.js @@ -1396,6 +1396,11 @@ $row.hide(); $editRow.insertBefore($row); $row.data(JSGRID_EDIT_ROW_DATA_KEY, $editRow); + + this._callEventHandler(this.onEditRowInserted, { + editRow: $editRow, + row: $row + }); }, _createEditRow: function(item) {