Check documentation for the latest version of dhtmlxSuite keepInViewport DHTMLX Docs

keepInViewport

keeps a window within the viewport

void keepInViewport(boolean state);

Parameters

statebooleanif true - it is not allowed to place the window outside the viewport

Example

myWins.window(id).keepInViewport(true/false);

Back to top