DHTMLX Docs & Samples Explorer

isListOptionEnabled(parentId, optionId)

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

return true if a listed option is enabled

  • parentId - id of a select button
  • optionId - id of a listed option
    var isOptEn = toolbar.isListOptionEnabled(parentId, optionId); // returns true/false