diff options
author | Michael Leibman <michael.leibman@gmail.com> | 2013-11-17 23:11:00 -0800 |
---|---|---|
committer | Michael Leibman <michael.leibman@gmail.com> | 2013-11-17 23:11:00 -0800 |
commit | 8572d3e1a8527183460fa04659f22ff676565992 (patch) | |
tree | a2f6c899ef28b6ea449be779184b2da4a363edbe /slick.grid.js | |
parent | bbe9bfb5a5c1981f7264d410e2b93ec1c98ce2b9 (diff) | |
download | SlickGrid-8572d3e1a8527183460fa04659f22ff676565992.zip SlickGrid-8572d3e1a8527183460fa04659f22ff676565992.tar.gz SlickGrid-8572d3e1a8527183460fa04659f22ff676565992.tar.bz2 |
Fix #791 - Cancel the current edit on updateRowCount().
Diffstat (limited to 'slick.grid.js')
-rw-r--r-- | slick.grid.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slick.grid.js b/slick.grid.js index b01ced1..8d1e8ae 100644 --- a/slick.grid.js +++ b/slick.grid.js @@ -1606,6 +1606,8 @@ if (typeof Slick === "undefined") { // with autoHeight, we do not need to accommodate the vertical scroll bar
viewportHasVScroll = !options.autoHeight && (numberOfRows * options.rowHeight > viewportH);
+ makeActiveCellNormal();
+
// remove the rows that are now outside of the data range
// this helps avoid redundant calls to .removeRow() when the size of the data decreased by thousands of rows
var l = dataLengthIncludingAddNew - 1;
|