Show TOC

Background documentationRadioButtonGroupByIndex Locate this document in the navigation structure

 

UI element RadioButtonGroupByIndex groups a number of radio buttons in a single table. Unlike UI element CheckBoxGroup, this UI element allows user to select one element only.

Description of the UI Element Properties

accessiblityDescription

When accessibility is activated, the assigned text is added to the quick info. This description provides semantic details of the UI element and is only read by the screen reader if the user focuses the complete Ul element.

activateAccessKey

Indicates whether access key for this control is activated. More information: Enabling Access Keys

colCount

Specifies the number of columns in which the radio button UI elements are displayed.

explanation

Specifies the explanation text. More information: Explanation

readOnly

Specifies whether or not the user can select a radio button within the radio button group.

selectionChangeBehaviour

Can take the values auto and manual and is represented by enumeration type TextDirection.

state

Describes the state of the UI element. Property state can take the values normal and required, and it is represented by enumeration type WDState.

textDirection

Specifies the text direction and allows you to use a check box for texts in languages which require a specific text direction. Property textDirection is represented by enumeration type WDTextDirection.

texts

Specifies the path to the context attribute that provides the texts of the radio buttons. The context attribute must be an attribute of a multiple context node which stores the data of the radio buttons. Each node element represents a radio button.

The context must provide a context node X that can contain 0 to n elements (X.cardinality=0..n). The context node must contain a context attribute y that is of a simple type and provides the texts for the radio buttons. For data binding, property texts is bound to attribute y. Each node element represents a radio button. The selected index is specified by the lead selection of the node X.

width

Specifies the width of the UI element that you can specify in CSS sizes, such as em, ex, pixels or percentage values.

Events

onSelect

This event is triggered if the user selects a radio button of this RadioButtonGroupByIndex. The parameter index contains the index of the selected radio button. Event parameter: Type, index: int.