We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 926a811 commit 3681529Copy full SHA for 3681529
projects/igniteui-angular/src/lib/grids/grid-base.directive.ts
@@ -2913,7 +2913,8 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
2913
public setFilteredSortedData(data, pinned: boolean) {
2914
if (this._pinnedRecordIDs.length > 0 && pinned) {
2915
this._filteredSortedPinnedData = data;
2916
- this.filteredSortedData = [... this._filteredSortedPinnedData, ... this._filteredSortedUnpinnedData];
+ this.filteredSortedData = this.isRowPinningToTop ? [... this._filteredSortedPinnedData, ... this._filteredSortedUnpinnedData] :
2917
+ [... this._filteredSortedUnpinnedData, ... this._filteredSortedPinnedData];
2918
} else if (this._pinnedRecordIDs.length > 0 && !pinned) {
2919
this._filteredSortedUnpinnedData = data;
2920
} else {
0 commit comments