Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata
General

Component Palette Icon:



Description

The Radio Group allows you to create multiple radio buttons in a single container. The number of radio buttons in the group is determined by the number of elements in the "radios" object. Only one radio button in a group may be selected at a time. Radio groups are a good way to let the user choose just one of a number of options. If multiple selections are expected, the Checkbox or Dropdown components can be used.

Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
valueThe value of the selected radio.string, integer, boolean, or null
radios

List of radios that make up this group.

 Click to see the radios properties
NameDescriptionProperty Type
textText to pair with this radio.value: string
selectedIf 'true,' this radio is selected.value: boolean
valueThe value of the radio to be evaluated when selected.value: numeric
array

orientation

Placement of the Radio Button: row or column. Default is row.

value: string dropdown

align

The following feature is new in Ignition version 8.0.13
Click here to check out the other new features

Align radios along the cross axis. Vertical if orientation is set to row; horizontal if orientation is set to column.

value: string dropdown
justify

The following feature is new in Ignition version 8.0.13
Click here to check out the other new features

Justify radios along the main axis. Horizontal if orientation is set to row; vertical if orientation is set to column.

value: string dropdown
textPositionWhere to place the label text in relation to the Radio Button: top, right, bottom, or left. Default is right.value: string dropdown
enabled

If true, user is allowed to select a radio. Default is true.

If the component is disabled, scripts can still run on the component. For example, if you add a script action to the onClick event, the script will fire when the user clicks on the Radio Button.

value: boolean
selectedIcon

The following feature is new in Ignition version 8.0.13
Click here to check out the other new features

Settings for the appearance of the radio's icon when it is selected.

NameDescriptionProperty Type
pathPath to the icon source, in format: library/IconName. For more information on icons, see the Images, SVGs, and Icons in Perspective page.value: string
color

Fill color settings to apply to the icon.

NameDescriptionProperty Type
enabledColor of the icon when enabled. Can be a named color.value: string
disabledColor of the icon when disabled. Can be a named color.value: string
object
styleSets a style for the icon. Full menu of style options is available. You can also specify a style class.object
object
unselectedIcon

The following feature is new in Ignition version 8.0.13
Click here to check out the other new features

Settings for the appearance of the radio's icon when it is not selected.

NameDescriptionProperty Type
pathPath to the icon source, in format: library/IconName. For more information on icons, see the Images, SVGs, and Icons in Perspective page.value: string
color

Fill color settings to apply to the icon.

NameDescriptionProperty Type
enabledColor of the icon when enabled. Can be a named color.value: string
disabledColor of the icon when disabled. Can be a named color.value: string
object
syleSets a style for the icon. Full menu of style options is available. You can also specify a style class.object
object
style

Sets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.

object

Perspective Component Events

The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

Example

PropertyValueStyle Category
props.radios.0.textSystem 1N/A
props.radios.0.value5N/A
props.radios.1.textSystem 2N/A
props.radios.1.value10N/A
props.radios.2.textStorageN/A
props.radios.2.value15N/A
props.orientationcolumnN/A
props.textPositionleftN/A
props.style.borderStylesolidborder
props.style.borderWidth1pxborder
props.style.borderColor#000000border


  • No labels