pp108 : xforms-onrowclick

xforms-onrowclick


This event is fired when a row in a Table control is clicked upon.

Event Information

To invoke

Click on a table's row that contains some data.

Default Action

Initiates any actions associated with this event, and then fires the onRowSelect event.

Named Script

xforms-onrowclick


Event Object Properties

Property

Description

currentBusinessObject

Denotes the business object of the current row.

newBusinessObject

Denotes the business object of a new row.

returnValue

Boolean that denotes whether the row can be clicked or not. It is set totrueby default. To prevent the selection of a row when it is clicked, set it tofalse.

rowIndex

Integer that denotes the index of the row that is selected.

srcElement

Reference to the selected row.

srcEvent

Denotes the native event object of the browser.



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

Remarks


  • This event is fired before the xforms-onrowselect event.
  • This event is fired even the row that you click on is already selected.
  • This event is not fired for a row that does not contain any rendered data.

Applies to


Table