If a filter changed, explicitly clear the selection to prevent confusion if selected rows are in the new results

This commit is contained in:
Nathan Gray 2014-05-29 16:21:41 +00:00
parent 79f7a8a6cf
commit 10d7a3f579

View File

@ -433,6 +433,11 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
{
this.controller.keepSelection();
}
else
{
// Do not keep selection
this.controller._selectionMgr.resetSelection();
}
// Update the filters in the grid controller
this.controller.setFilters(this.activeFilters);