Skip to content

Commit 926a811

Browse files
Vasil MihalkovVasil Mihalkov
authored andcommitted
feat(igxGrid): Use _pinnedRecordIDs, not pinnedRows #6640
1 parent a34da2c commit 926a811

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2911,10 +2911,10 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
29112911
}
29122912

29132913
public setFilteredSortedData(data, pinned: boolean) {
2914-
if (this.pinnedRows.length > 0 && pinned) {
2914+
if (this._pinnedRecordIDs.length > 0 && pinned) {
29152915
this._filteredSortedPinnedData = data;
29162916
this.filteredSortedData = [... this._filteredSortedPinnedData, ... this._filteredSortedUnpinnedData];
2917-
} else if (this.pinnedRows.length > 0 && !pinned) {
2917+
} else if (this._pinnedRecordIDs.length > 0 && !pinned) {
29182918
this._filteredSortedUnpinnedData = data;
29192919
} else {
29202920
this.filteredSortedData = data;

0 commit comments

Comments
 (0)