File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6125,7 +6125,8 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
61256125 private configureRowEditingOverlay ( rowID : any , useOuter = false ) {
61266126 this . rowEditSettings . outlet = useOuter ? this . parentRowOutletDirective : this . rowOutletDirective ;
61276127 this . rowEditPositioningStrategy . settings . container = this . tbody . nativeElement ;
6128- const targetRow = this . gridAPI . get_row_by_key ( rowID ) ;
6128+ const pinned = this . _pinnedRecordIDs . indexOf ( rowID ) !== - 1 ;
6129+ const targetRow = ! pinned ? this . gridAPI . get_row_by_key ( rowID ) : this . pinnedRows . find ( x => x . rowID === rowID ) ;
61296130 if ( ! targetRow ) {
61306131 return ;
61316132 }
Original file line number Diff line number Diff line change 1818 < igx-switch (change) ='onRowChange() ' style ="padding-left: 10px "> Bottom Row Pinning toggle</ igx-switch >
1919 < igx-switch (change) ='onChange() ' style ="padding-left: 10px "> Right Column Pinning toggle</ igx-switch >
2020 </ div >
21- < igx-grid [igxGridState] ="options " [allowFiltering] ='true ' [primaryKey] ='"ID" ' [pinning] ="pinningConfig " [paging] ="true "
21+ < igx-grid [rowEditable] =" true " [ igxGridState] ="options " [allowFiltering] ='true ' [primaryKey] ='"ID" ' [pinning] ="pinningConfig " [paging] ="true "
2222 [columnHiding] ='true ' [showToolbar] ='true ' [columnPinning] ='true ' #grid1 [data] ="data " [width] ="'800px' "
2323 [height] ="'600px' " [rowSelection] ="true ">
2424
You can’t perform that action at this time.
0 commit comments