focus()
sets focus to the radio button of the RadioGroup control by its id
focus(id?: string): void;
Parameters:
id: string
- optional, the id of a radio button
Example
form.getItem("radiogroup").focus("radiobutton_1");
If "id" is not specified, the method sets focus to the first radio button of the RadioGroup.
Change log:
added in v7.0