Check documentation for the latest version of dhtmlxSuite forEachItem DHTMLX Docs

forEachItem

an iterator, calls a user-defined handler for each item

void forEachItem(function handler);
handlerfunctiona user-defined handler to call, item object will be passed as a param

Example

mySidebar.forEachItem(function(item){
    console.log(item.getId());
});

Back to top