File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
projects/igniteui-angular/src/lib/grids/common Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ export class IgxCellCrudState {
146146 public cell : IgxCell | null = null ;
147147 public row : IgxEditRow | null = null ;
148148 public isInCompositionMode = false ;
149- public cancelAddMode = false ;
150149
151150 public createCell ( cell ) : IgxCell {
152151 // cell.rowData ?? cell.row.data covers the cases, where
@@ -353,8 +352,11 @@ export class IgxRowCrudState extends IgxCellCrudState {
353352 nonCancelableArgs = this . rowEditDone ( rowEditArgs . oldValue , event ) ;
354353 } else {
355354 this . grid . transactions . endPending ( false ) ;
355+
356356 const parentId = this . getParentRowId ( ) ;
357357 this . grid . gridAPI . addRowToData ( this . row . newData ?? this . row . data , parentId ) ;
358+ this . grid . triggerPipes ( ) ;
359+
358360 nonCancelableArgs = this . rowEditDone ( null , event ) ;
359361 }
360362
@@ -559,7 +561,6 @@ export class IgxGridCRUDService extends IgxRowAddCrudState {
559561 return ;
560562 }
561563 this . endEdit ( true , event ) ;
562- this . cancelAddMode = false ;
563564
564565 if ( parentRow != null && this . grid . expansionStates . get ( parentRow . rowID ) ) {
565566 this . grid . collapseRow ( parentRow . rowID ) ;
You can’t perform that action at this time.
0 commit comments