TRVCrossTabLevel.SortType

<< Click to display table of contents >>

TRVCrossTabLevel.SortType

Specifies how columns are ordered at this level of a cross-tab report.

type
  TRVReportSortType = (rvrstNoSort, rvrstAscending, rvrstDescending,
    rvrstCaptionsAscending, rvrstCaptionsDescending);
property SortType: TRVReportSortType;

This property is used if TRVReportTableItemInfo.CrossTabulation.ColumnGenerationType is one of:

rvcgtDataQuerySeparate

rvcgtDataQueryCascade.

In these column generation modes, values (and, optionally, captions) are taken from the results of TRVReportTableItemInfo.RowGenerationRules[0].DataQuery.

Values are in FieldName field, captions are in CaptionFieldName field.

Value

Meaning

rvrstNoSort

No sorting, values are sorted in the order of their appearance in the results of a date query

rvrstAscending

Values are ordered from low to high

rvrstDescending

Values are ordered from high to low

rvrstCaptionsAscending

Values are sorted so that captions are ordered low to high; if captions are not defined, this mode works like rvrstAscending

rvrstCaptionsDescending

Values are sorted so that captions are ordered high to low; if captions are not defined, this mode works like rvrstDescending

Text values and captions are compared using CaseSensitive property.

Default value:

rvrstAscending

See also

Definitions of Report Workshop terms