pp108 : xforms-onrowselect

xforms-onrowselect


This event is fired once the row of the Table control is selected.

Syntax

DesignTime

This is a design-time property and can be set through the property sheet of the control.


Event Information

To invoke

Select a row in a table.

Default Action

Initiates any actions associated with this event.

Named Script

xforms-onrowselect


Event Object Properties

Property

Description

rowIndex

Integer that denotes the index of the row that fired the event

srcElement

Reference to the row object that fired the event.

selectType

String that denotes the default or user's selection. Possible values for this property are default, click or keydown. A property is referred to as default when the application selects the first row when a table displays; and the property changes to keydown when user uses the Tab key, arrow key up or down to navigate the table. The status of the property changes to click when the user clicks to select a row in the table.



An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.

Applies to


Table