JavaScript

canDetailViewOpen

Arguments

eobject

An object passed to the event that contains the following properties:

rowNumbernumber

The row number of the Grid row that fired the event. New record rows have negative row numbers.

Description

Fires when the user tries to display the Detail View for a row in the Grid Part. If the event returns false, the action is cancelled.

To prevent the user from opening the Detail View for the Grid row, the event can return false. For example:

if (e.rowNumber >= 0) {
    return false;
}