List Column - SortAsColumn Property

Specifies an alternate column to use to sort the data

Member of List Column (PRIM_LIST.Column)

Data Type - PRIM_LIST.Column - Base class for all columns

Details

The SortAsColumn property can be used to specify another column as the key for sorting.
 
This feature is useful for situations where the information displayed does not sort naturally. For example, a column may contain a rating of Good, Average and Poor.  Ideally when sorted the data would remain in that order, but A comes before G, so the Average items would appear at the top.
 
To solve the problem a second hidden column could be added containing the values 1, 2 and 3 respectively and this could be used for sorting.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020