Required library edition: ![]()
Required library file: dhtmlxtoolbar.js
iterator, calls user handler for each item
toolbar.forEachItem(function(itemId){ // code here }); // or function doWithItem(itemId){ // code here } toolbar.forEachItem(doWithItem);