DHTMLX Docs & Samples Explorer

getId()

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxaccordion.js

returns an item's id

dhxAcc.forEachItem(function(item){
   var id = item.getId();
});