Method to display Detail View

Description

Specify how the user will open the Detail View.

Discussion

The Method to display Detail View defines how the Detail View for a record in the Grid is opened. Options include:

Click on a hyperlink field

A hyperlink in the Grid row is clicked to open the Detail View. The hyperlink is one of the fields in the Grid row. If no hyperlink field is added, Alpha Anywhere will automatically convert the first visible field in the Grid Component to a hyperlink.

Click on a Grid row

When the Grid row is selected, the Detail View is opened.

Double-click on a Grid row

When the Grid row is double-clicked, the Detail View is opened.

Programmatic

JavaScript is used to open the Detail View for a Grid row. The JavaScript can be placed in a button, the onClick event for a field in the Grid row, or triggered by other events that occur in the Grid Component.

The 'programmatic' option allows you to create your own event handler. Your event handler should execute the {grid.object}.detailView(rowNumber) method. Depending on where the event is defined you may be able to use {grid.rowNumber} placeholder for the 'rowNumber' parameter. For example:

{grid.object}.detailView({grid.rowNumber});