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
29132913 public setFilteredSortedData ( data , pinned : boolean ) {
29142914 if ( this . _pinnedRecordIDs . length > 0 && pinned ) {
29152915 this . _filteredSortedPinnedData = data ;
2916- this . filteredSortedData = [ ... this . _filteredSortedPinnedData , ... this . _filteredSortedUnpinnedData ] ;
2916+ this . filteredSortedData = this . isRowPinningToTop ? [ ... this . _filteredSortedPinnedData , ... this . _filteredSortedUnpinnedData ] :
2917+ [ ... this . _filteredSortedUnpinnedData , ... this . _filteredSortedPinnedData ] ;
29172918 } else if ( this . _pinnedRecordIDs . length > 0 && ! pinned ) {
29182919 this . _filteredSortedUnpinnedData = data ;
29192920 } else {
You can’t perform that action at this time.
0 commit comments