PreScrollRowSelect Event

The PreScrollRowSelect event is initiated whenever a user selects a row (using radio buttons) or multiple rows (using check boxes) in a grid or scroll area. Use the PreScrollRowSelect event to trigger PeopleCode that validates the selected row or rows, that is, to allow or disallow the selection of row or rows based on information available at the time of the selection.

Note:

PreScrollRowSelect event can be associated only with fluid component records and record fields. PeopleCode associated with the event is ignored in non-fluid component records or record fields.

Note:

PreScrollRowSelect event PeopleCode will not run on a grid if the Selector property or the row-level trigger field is set on the grid. On such grids, PeopleCode associated with the PreScrollRowSelect event is ignored.

When a PreScrollRowSelect event exists for any column field in a grid or for a grid component record, the Select All Rows check box is not available to prevent the event from triggering PeopleCode on multiple rows.

You can enable or disable row selection in a grid by selecting the options in the Use tab of the Grid Properties dialog box. For more information, see Application Designer Developer’s Guide: Setting Grid Use Properties.