DHTMLX Docs & Samples Explorer

setListOptionPosition(parentId, optionId, pos)

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

sets a position of a listed option (moves listed option)

  • parentId - id of a select button
  • optionId - id of a listed option
  • pos - position of a listed option
    toolbar.setListOptionPosition(parentId, optionId, pos);