enable single click

Does anyone know the syntax to enable single click. At the moment users had to double click to make edit to fields i would like it to just be a single plick if possible.

i am aware of enableEditEvents(click, dblclick, f2Key), but not sure where to put this?

i was thinking it would go in the below script.



You should put enableEditEvents() method before mygrid1.init();: