Skip to main content

isDisabled()

checks whether a Button control is disabled

isDisabled(): boolean;

Returns:

true, if a control is disabled; otherwise, false.

Example

form.getItem("button").isDisabled();// -> true/false