Skip to content

Commit 1e560e8

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Refresh search if needed only.
1 parent 50e7d85 commit 1e560e8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3911,12 +3911,16 @@ export abstract class IgxGridBaseDirective implements GridType,
39113911

39123912
this.activeNodeChange.pipe(filter(() => !this._init), destructor).subscribe(() => {
39133913
this._activeRowIndexes = null;
3914-
this.refreshSearch();
3914+
if (this.hasCellsToMerge) {
3915+
this.refreshSearch();
3916+
}
39153917
});
39163918

39173919
this.selectionService.selectedRangeChange.pipe(filter(() => !this._init), destructor).subscribe(() => {
39183920
this._activeRowIndexes = null;
3919-
this.refreshSearch();
3921+
if (this.hasCellsToMerge) {
3922+
this.refreshSearch();
3923+
}
39203924
});
39213925
}
39223926

0 commit comments

Comments
 (0)