Disable Editing on a custom excell


I’ve created a button excell but when i double click on the cell (empty space beside the button), it lets me edit the text on the button.

Is there a way to disable the editing without disabling the button?
(I’ve also tried to create a checkbox excell, double clicking on the checkbox will bring me to edit the value)



You may try to disable edit function of your exCell:
this.edit = function(){}

Here are some sample examples:
docs.dhtmlx.com/doku.php?id=dhtm … formatters