DHTMLX Docs & Samples Explorer

setPosition(itemId, pos)

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

sets a new position for an item (moves item to desired position)

  • itemId - id of an item
  • pos - new position
    toolbar.setPosition(itemId, pos);