DHTMLX Docs & Samples Explorer

isEnabled()

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

checks if a button is enabled

Returns true if enabled, otherwise - false

    var isBtnEnabled = dhxWins.window(id).button(id).isEnabled();