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

forEachItem

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

void forEachItem(function handler);

Parameters

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