DHTMLX Docs & Samples Explorer

setListOptionText(parentId, optionId, text)

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

sets a text for a listed option

  • parentId - id of a select button
  • optionId - id of a listed option
  • text - text for a listed option
    toolbar.setListOptionText(parentId, optionId, text);