You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

  • No labels