DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### enableEditEvents(click, dblclick, f2Key)

Required library edition:
Required library file: dhtmlxgrid.js

enable/disable events which fire excell editing, mutual exclusive with enableLightMouseNavigation

- click - {true|false} - enable/disable editing by single click
- dblclick - {true|false} - enable/disable editing by double click
- f2Key - {true|false} - enable/disable editing by pressing F2 key

       //enable editing by single click and by pressing F2 key, disable editing by double click
       mygrid.enableEditEvents(true,false,true);

See also: editCell