ui.Dialog.getSortKey

Returns the name of the sort field selected by the user.

Syntax

getSortKey(
   screen-array STRING )
  RETURNING field-name STRING
  1. screen-array is the name of the screen array.

Usage

The getSortKey() method returns the form field name selected by the user to sort rows.

This method is used in the context of the ON SORT trigger.
Note: If the sort is reset, the getSortKey() method returns NULL.