DHTMLX Docs & Samples Explorer

Index
dhtmlxtoolbar
API Methods

### setListOptionPosition(parentId, optionId, pos)

Required library edition:
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);