hide()
hides either an option of ToggleGroup or the whole ToggleGroup
hide(id?: string): void;
Parameters:
id: string
- optional, the id of a specific element inside the ToggleGroup control
Example
form.getItem("ToggleGroup").hide("toggle_1");
If the id of a toggle is not specified, the method hides ToggleGroup with all its options.