BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
click(args){
if (args.target.classList.contains("e-rowcell")) {
var index = parseInt(args.target.getAttribute("Index"));
var colindex = parseInt(args.target.getAttribute("aria-colindex"));
var field = this.gridObj.getColumns()[colindex].field;
this.gridObj.editModule.editCell(index, field);
}
}
|
Hi Neo,Thanks for contacting Syncfusion support.We have validated your query and created a sample based on your requirement. In the below sample, we have bind click event for grid and edit the cell by using editCell method. Please refer the below code example and sample for more information.
click(args){if (args.target.classList.contains("e-rowcell")) {var index = parseInt(args.target.getAttribute("Index"));var colindex = parseInt(args.target.getAttribute("aria-colindex"));var field = this.gridObj.getColumns()[colindex].field;this.gridObj.editModule.editCell(index, field);}}Regards,Hariharan