BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
HTML:
<ejs-grid #normalgrid id='Normalgrid' [dataSource]='data' allowPaging='true' (actionComplete)='actionComplete($event)' (rowSelecting)='rowSelecting($event)' [pageSettings]='pageSettings' [editSettings]='editSettings' [toolbar]='toolbar'>
<e-columns>
<e-column type="checkbox" width='140'></e-column>
</e-columns>
</ejs-grid>
TypeScript:
export class AppComponent {
public flag: boolean = false;
actionComplete(args) {
if (args.requestType == "delete") {
this.flag = true;
}
}
rowSelecting(args) {
if (this.flag) {
this.flag = false;
args.cancel = true;
}
}
} |