show()
shows either a checkbox of CheckboxGroup or the whole CheckboxGroup
show(id?: string): void;
Parameters:
id: string
- optional, the id of a specific element inside the CheckboxGroup control
Example
form.getItem("CheckboxGroup").show("checkbox_1");
If the id of a checkbox is not specified, the method shows CheckboxGroup with all its checkboxes.
Related sample: Form. Hide/Show control
Change log: The id parameter was added in v8.0