Skip to content

peDrawSortTriangleStyle - cCJGrid

Specifies the style of the column sort triangle

Type: Property
Access: Read/Write
Data Type: xtpGridDrawSortTriangleStyle
Parameters: None

Syntax

Property xtpGridDrawSortTriangleStyle peDrawSortTriangleStyle
Access Type Syntax
Read Access: Get peDrawSortTriangleStyle to xtpGridDrawSortTriangleStyleVariable
Write Access: Set peDrawSortTriangleStyle to xtpGridDrawSortTriangleStyleVariable/Value

Description

Set this property to define whether the grid will use a "sort triangle" symbol in the column header when the grid data is sorted around that column.

Valid values:

Constant Meaning
xtpReportDrawSortTriangleAlways Always show sort triangle
xtpReportDrawSortTriangleNever Never show sort triangle

When set to xtpReportDrawSortTriangleAlways, the grid will show the sort triangle. When set to xtpReportDrawSortTriangleNever, the sort triangle is not shown.

The sort triangle will be inverted when the data is sorted in descending order.

Grid data can be sorted by sending the SortGridByColumn message.

See Also

pbShadeSortColumn | piShadeSortColor