File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5006,14 +5006,14 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
50065006 let added = false ;
50075007 let removed = false ;
50085008
5009- this . initColumns ( this . columnList ) ;
5010-
5011-
50125009 diff . forEachAddedItem ( ( record : IterableChangeRecord < IgxColumnComponent > ) => {
50135010 this . onColumnInit . emit ( record . item ) ;
50145011 added = true ;
5012+ record . item . pinned ? this . _pinnedColumns . push ( record . item ) : this . _unpinnedColumns . push ( record . item ) ;
50155013 } ) ;
50165014
5015+ this . initColumns ( this . columnList ) ;
5016+
50175017 diff . forEachRemovedItem ( ( record : IterableChangeRecord < IgxColumnComponent | IgxColumnGroupComponent > ) => {
50185018 const isColumnGroup = record . item instanceof IgxColumnGroupComponent ;
50195019 if ( ! isColumnGroup ) {
You can’t perform that action at this time.
0 commit comments