BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<ejs-grid #grid id='Normalgrid' [dataSource]='data' allowPaging='true' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar' (actionBegin)='actionBegin($event)' (toolbarClick)='toolbarClick($event)' >
<e-columns>
. . . . .
</e-columns>
</ejs-grid>
|
toolbarClick(args){
if(args.item.text==="Update"){
this.flag = false;
}
}
actionBegin(args: any) :void {
if(args.requestType ==='save'){
// when apply args.cancel as true then it prevent from save action
args.cancel = (this.flag) ? true : false;
this.flag = true;
}
}
|