DHTMLX Docs & Samples Explorer

moveTab(tabId, newIndex)

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

moves the specified tab to the specified position

  • tabId - (string, number) the tab id
  • newIndex - (number) - the new index of the tab