Defining the action for a row choice
The row choice in a TABLE
can be associated with a dedicated
action.
When using a
DISPLAY ARRAY
dialog to control a list view like a TABLE
or TREE
, the physical
event to choose a row has the following results, depending on the type of front-end:
- With the desktop / web browser front-end, by default, a mouse double-click changes the current
row, and fires the "accept" action, if available. If the default accept action is fired, the dialog
will end, except if the accept action has been disabled or was overwritten by an
ON ACTION accept
handler. This default behavior applies to most record lists of desktop applications, where the main purpose is to let the user choose a row from the list. TheDOUBLECLICK
option ofDISPLAY ARRAY
can be used to define a different action to be fired for a double-click with the mouse. If needed, the physical event (single or double click) to trigger this action can be defined with therowActionTrigger
style attribute. - With a mobile device, a single tap and double tap on a row only changes the current row. If a
single or double tap on a row must fire an action, define the action to be triggered with the
DOUBLECLICK
option of theDISPLAY ARRAY
dialog, and configure the physical event to fire this action with therowActionTrigger
style attribute.
For more details see Defining the action for a row choice.