SelectIndex Method (FlexListBase)

Action

Defines the value of the type property of the event object for an event that is dispatched when a single item is selected.

Syntax

listBase.SelectIndex(itemIndex, [triggerEvent, keyModifier])
Variable Description
itemIndex The data provider index of the item to be selected. Integer.
triggerEvent Optional: The event, such as a mouse or keyboard event, that triggered the action. FlexTriggerEvent.
keyModifier Optional: The key modifiers (for example, the Ctrl key) to use when clicking the index. ModifierKeys.