How to enable DHTMLX grid edit in single cell click

We are using DHTMLX v8 Grid and I need the grid to be editable. I have several editable columns, but currently a cell becomes editable only on double-click. I want to make it editable on single click instead.

I tried using this:

gridObj.events.on(“cellClick”, (row, column, event) => {
if (column.editable === true) {
cellClicked = true;
gridObj.editCell(row.id, column.id);
}
});

However, triggering editCell() inside cellClick also fires the afterEditEnd event immediately — and I don’t want that, because I have an AJAX save call in that listener.

Has anyone handled single-click editing in DHTMLX v8 without triggering afterEditEnd unintentionally? Any suggestions would be appreciated.