isDisabled()
checks whether a CheckboxGroup control or a specific element inside the control is disabled
isDisabled(id?: string): boolean;
Parameters:
id: string
- optional, the id of a specific element inside the CheckboxGroup control
Returns:
true
, if a control or a specific element is disabled; otherwise, false
.
Example
form.getItem("CheckboxGroup").isDisabled("id_1"); // -> true/false
Change log: The id parameter was added in v8.0