DHTMLX Docs & Samples Explorer

getListOptionPosition(parentId, optionId)

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

returns a position of a listed option

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