DHTMLX Docs & Samples Explorer

getItemsNum()

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

gets number of items currently known to Folders object (it can be chnaged then if dynamical loading is allowed)

Returns numeric value - number of items

    alert("There are " + myFolders.getItemsNum() + " items in the folder")