DHTMLX Docs & Samples Explorer

Index
dhtmlxwindows
API Methods

### forEachWindow(handler)

Required library edition:
Required library file: dhtmlxwindows.js

iterator - goes through all windows and calls a user handler

- hander (user function)

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