DataGrid REALbasic Plugin

DataGrid.SortedBackwardsFlag Property

Use this property to set or get the the sort order direction that is drawn.
If set to true then the sort indicator is drawn to represent a backward sort.

SortedBackwardsFlag as Boolean {Read and Write}

Remarks

The StyleGrid does not implement the sort.
This property is for external sort classes or plugins to alter how the sort icon is drawn in the Corner button.

On MacOS Classic, Win32 and Linux the direction indicator is drawn in the Corner button.

On MacOS X, the direction indicator is drawn in the currently sorted column, and if the RenderCornerbutton property is set to true when running on OS X then nothing is rendered there since the sort direction indicator is shown in the column headers instead.

See Also

DataGrid Control