New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
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