DHTMLX Docs & Samples Explorer

getItem(id)

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

gets FOldes Item object

  • id - item ID
    var item = myFolders.getItem(myFolders._activeItemId);
    //if content was created from XML, then here is item's XML representation:
    var xmlNode = item.data.dataObj;