DHTMLX Docs & Samples Explorer

getPosition(itemId)

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

returns a current position of an item

  • itemId - id of an item
    var pos = toolbar.getPosition(itemId);