isVisible()
checks whether a CheckboxGroup control or a specific element inside the control is visible
isVisible(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 visible; otherwise, false
.
Example
form.getItem("CheckboxGroup").isVisible("id_1"); // -> true/false
Change log: The id parameter was added in v8.0