disable()
disables a ToggleGroup control or a specific element inside the control
disable(id?: string): void;
Parameters:
id: string
- optional, the id of a specific element inside the ToggleGroup control
Example
form.getItem("ToggleGroup").disable("toggle_1");