DHTMLX Docs & Samples Explorer

Migration from 2.0 to 2.5

1. Basic/Extended functionality

Sinse 2.5 dhtmlxMenu version some functionality moved to extended menu package (dhtmlxmenu_ext.js file needed). If you use it without included dhtmlxmenu_ext.js file, you'll see an alert “dhtmlxmenu_ext.js required”.

List of extended functionality:

  • setItemEnabled
  • setItemDisabled
  • isItemEnabled
  • getItemText
  • setItemText
  • loadFromHTML
  • hideItem
  • showItem
  • isItemHidden
  • setUserData
  • getUserData
  • setOpenMode
  • setWebModeTimeout
  • enableDynamicLoading
  • getItemImage
  • setItemImage
  • clearItemImage
  • setAutoShowMode
  • setAutoHideMode
  • setContextMenuHideAllMode
  • getContextMenuHideAllMode
  • setVisibleArea
  • setTooltip
  • getTooltip
  • setHotKey
  • getHotKey
  • setItemSelected
  • setTopText
  • setRTL
  • setAlign
  • setHref
  • clearHref
  • setOverflowHeight
  • getRadioChecked
  • setRadioChecked
  • addRadioButton
  • setCheckboxState
  • getCheckboxState
  • addCheckbox