File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -5955,6 +5955,22 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
59555955 }
59565956 }
59575957
5958+ /**
5959+ * Finishes the row transactions on the current row.
5960+ *
5961+ * @remarks
5962+ * If `commit === true`, passes them from the pending state to the data (or transaction service)
5963+ * @example
5964+ * ```html
5965+ * <button igxButton (click)="grid.endEdit(true)">Commit Row</button>
5966+ * ```
5967+ * @param commit
5968+ */
5969+ // TODO: Facade for crud service refactoring. To be removed
5970+ public endEdit ( commit = true , event ?: Event ) {
5971+ this . crudService . endEdit ( commit , event ) ;
5972+ }
5973+
59585974 protected writeToData ( rowIndex : number , value : any ) {
59595975 mergeObjects ( this . gridAPI . get_all_data ( ) [ rowIndex ] , value ) ;
59605976 }
You can’t perform that action at this time.
0 commit comments