DHTMLX Docs & Samples Explorer

getListOptionText(parentId, optionId)

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

returns a text of a listed option

  • parentId - id of a select button
  • optionId - id of a listed option
    var text = toolbar.getListOptionText(parentId, optionId);