Cell Double-Click and Supressing "Edit on Double Click"

I’m trying to suppress the initiation of an editor on double clicking the cell.

It looks like there is no dblClick hook (based on this post: Double click on cell)

Is there some other way of attaching the double click event handler? Or some other way of intercepting the editor initiation and determing if it started because of a double click.

The reason I’m wanting to do this is that when the editor is invoked via a cell double click, the Tables beforeKeyDown hook does not fire (however does fire if the editor was initated by simply typing into the cell - bug?).

Thanks

Hey @phil

you can use a native js event. Here’s a demo https://jsfiddle.net/AMBudnik/ojemprwz/ it can return a TD element and if you need the Handsontable coordinates then you can call getSelected method https://jsfiddle.net/AMBudnik/a5kde0yh/

Thanks @aleksandra_budnik

You’re welcome :slight_smile: