hide()
hides either a radio button of RadioGroup or the whole RadioGroup
hide(id?: string): void;
Parameters:
id?: string
- optional, the ID of a radio button to hide
Example
form.getItem("radiogroup").hide("radiobutton_1");
If ID of the radio button is not specified, the method hides RadioGroup with all its radio buttons.
Related sample: Form. Hide/Show control
Change log:
The id parameter was added in v8.0