Check documentation for the latest version of dhtmlxSuite forEachWindow DHTMLX Docs

forEachWindow

iterator - goes through all windows and calls a user handler

void forEachWindow(function handler);
handlerfunctionuser-defined function

Example

myWins.forEachWindow(function(){
    // your code here
});
 
// or
 
function doWithWindow(){
   // your code here
});
myWins.forEachWindow(doWithWindow);

Back to top