enableEditEvents

enables/disables events which invoke excell editing

void enableEditEvents(boolean click,boolean dblclick,boolean f2Key);

Parameters

clickbooleanenable/disable editing by single click
dblclickbooleanenable/disable editing by double click
f2Keybooleanenable/disable editing by pressing F2 key

Example

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

Details

mutually exclusive with the enableLightMouseNavigation() method

Back to top