Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridChartDataGroup.SortOrder Property

Specifies the order in which the data group’s categories are displayed once this group becomes active.

#Declaration

Delphi
property SortOrder; default soAscending;

#Property Value

Type Default Description
TcxDataSortOrder soAscending

The sort order.

#Remarks

Data group categories have the same order as their values are in the VisibleValues property. You can set the SortOrder property to change the display order. You cannot assign soNone to the SortOrder property.

Also you can use the SortOrder property of the default categories and series to apply sorting by their values.

Note

Sorting applied to series takes priority over sorting by default categories or a data group. Only a single type of sorting (either by default categories/a data group or series values) is active at one time within a chart.

To reverse the category display order, set the View’s AxisCategory.CategoriesInReverseOrder property to True.

#Default Value

The SortOrder property’s default value is soAscending.

See Also