BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
App.component.html
<ejs-grid #grid [dataSource]='data' [selectionSettings]='selectionOptions'[editSettings]='editSettings'
height='273px'(cellSaved)='cellSaved($event)'>
------
</ejs-grid>
App.component.ts
export class AppComponent {
@ViewChild('grid', {static: false})
grid: GridComponent;
public editSettings: EditSettingsModel;
public data: Object[];
-------
public ngOnInit(): void {
this.data = hierarchyOrderdata;
this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true, mode:'Batch' };
--------
}
// triggers each time when the cell is saved (Batch Edit only)
cellSaved(args){
console.log(this.grid.getBatchChanges())
}
}
|