Keep selection manager's index map set on reset

This commit is contained in:
nathangray 2018-07-18 10:21:34 -06:00 committed by Hadi Nategh
parent 9c3ff2182e
commit 3b04c84f61

View File

@ -184,6 +184,8 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
reset: function () {
// Throw away all internal mappings and reset the timestamp
this._indexMap = {};
// Update selection manager, it uses this by reference
this._selectionMgr.setIndexMap(this._indexMap);
// Clear the grid
this._grid.clear();