Required library edition:
Required library file: dhtmlxlayout.js
iterator, calls a user-defined function n-times
dhxLayout.forEachItem(function(item){ // do action with item, for example item.hideHeader(); }); // or function doWithItem(item) { item.hideHeader(); } dhxLayout.forEachItem(doWithItem);