ROWBOUND action attribute
The ROWBOUND
attribute defines if the action is related to the row
context of a record list.
Syntax
(only in action handlers of record list dialog)
ROWBOUND
Usage
The ROWBOUND
attribute is typically used in a DISPLAY ARRAY
or INPUT ARRAY
dialog action handler, when the action depends on the row context.
The actions marked with this attribute will be automatically enabled/disabled based on current row
existence, and rendered in a special way depending on the front-end platform standards.
The ROWBOUND
attribute was mainly introduced for mobile applications, when
using a TABLE
container to get a list view. Actions marked with this attribute will
be rendered in a native manner on the mobile device.
If a default action view is displayed for the action, it is automatically hidden when no current row context is available.
This attribute can only be specified in a list handling dialog, as action
attribute in the ATTRIBUTES()
clause of ON ACTION
handlers,
and applies to the actions defined by the current dialog in the current window.
Default actions such as the delete
action when using an ON
DELETE
modification trigger automatically get the ROWBOUND
attribute, to
be available only when at least one row exists in the list. Therefore, the ROWBOUND
attribute cannot be specified for such DISPLAY ARRAY
modification triggers.
Example
DISPLAY ARRAY ...
...
ON ACTION print ATTRIBUTES(ROWBOUND)
CALL print_customer_info(arr_curr())
...