Skip to content

Commit 8800df9

Browse files
author
CORP\vladimir.bushmanov
committed
T1264312: TreeList - restore selection after the search panel has cleared
1 parent 27ddab2 commit 8800df9

File tree

1 file changed

+1
-0
lines changed
  • packages/devextreme/js/__internal/grids/tree_list/selection

1 file changed

+1
-0
lines changed

packages/devextreme/js/__internal/grids/tree_list/selection/m_selection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ const selection = (Base: ModuleType<SelectionController>) => class SelectionCont
260260
private _updateSelectionStateCore(keys, isSelected) {
261261
const dataController = this._dataController;
262262

263+
this._selectionStateByKey = {};
263264
for (let i = 0; i < keys.length; i++) {
264265
this._selectionStateByKey[keys[i]] = isSelected;
265266
// @ts-expect-error

0 commit comments

Comments
 (0)