File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2913,7 +2913,8 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
2913
2913
public setFilteredSortedData ( data , pinned : boolean ) {
2914
2914
if ( this . _pinnedRecordIDs . length > 0 && pinned ) {
2915
2915
this . _filteredSortedPinnedData = data ;
2916
- this . filteredSortedData = [ ... this . _filteredSortedPinnedData , ... this . _filteredSortedUnpinnedData ] ;
2916
+ this . filteredSortedData = this . isRowPinningToTop ? [ ... this . _filteredSortedPinnedData , ... this . _filteredSortedUnpinnedData ] :
2917
+ [ ... this . _filteredSortedUnpinnedData , ... this . _filteredSortedPinnedData ] ;
2917
2918
} else if ( this . _pinnedRecordIDs . length > 0 && ! pinned ) {
2918
2919
this . _filteredSortedUnpinnedData = data ;
2919
2920
} else {
You can’t perform that action at this time.
0 commit comments