Check documentation for the latest version 6.0 of dhtmlxSuite forEachWindow DHTMLX Docs

forEachWindow

iterator - goes through all windows and calls a user handler

void forEachWindow(function handler);

Parameters

handlerfunctionuser-defined function

Example

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

Back to top