set_sort_criteria 

Use

Set sort criteria for columns of the grid control. Settings only take effect if you refresh the table using method refresh_table_display.

Features

CALL METHOD <ref.var. to CL_GUI_ALV_GRID > ->set_sort_criteria

   EXPORTING
      IT_SORT  =   <internal table of type LVC_T_SORT > .

Parameter

Meaning

IT_SORT

For each table row, the sort criteria for a column are defined (see also: Fields of the Sort Table).

 

For an overview, see: Methods of Class CL_GUI_ALV_GRID