Check documentation for the latest version of dhtmlxSuite setOpenMode DHTMLX Docs

setOpenMode

sets the opening mode for a menu

void setOpenMode(string mode);
modestring"win"|"web"

Example

myMenu.setOpenMode("win");

Details

The default mode is "web". In the "win" mode a user should click anywhere to hide the menu, in the "web" mode - just put the mouse pointer out of the menu area.

See also
Back to top