Required library edition: Required library file: dhtmlxtoolbar.js
returns array with ids of all listed options for parentId
toolbar.getAllListOptions(parentId);