DHTMLX Docs & Samples Explorer

enableEditEvents(click, dblclick, f2Key)

Required library edition: This method works with any edition of DHTMLX library
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