Hi Jenson,
Thanks for contacting Syncfusion support.
Based on your query, we understand that while editing, you want to focus the input element of the target cell(which is double clicked to start the edit). For this, we suggest you to use the recordDoubleClick event to get the target column field and then in the actionComplete event, get that target cell form element to focus using focus method as demonstrated in the below code example,
Code Example:
|
recordDoubleClick(args){
targetC= args.column.field; //target cell column field
},
actionComplete: function (args) {
if (args.requestType === "beginEdit") {
var id= "#"+this.$refs.grid.$attrs.id+ targetC; // use grid id and target cell column field to get that form input element.
args.form.querySelector(id).focus();
} |
We have prepared a sample based on this for your reference. You can find it below,