All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CrossTabGroupFieldBase.SortBySummaryInfo Property

Allows you to sort field values based on summary values in rows/columns.

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

[SRCategory(ReportStringId.CatData)]
public CrossTabFieldSortBySummaryInfo SortBySummaryInfo { get; }

Property Value

Type Description
CrossTabFieldSortBySummaryInfo

Settings that allows you to sort field values based on summary values.

Remarks

The Cross Tab displays row and column field values in ascending order.

You can use the SortBySummaryInfo property to sort row/column field values by grand totals values calculated against the specified field.

  1. Select a cell you want to sort and expand the SortBySummaryInfo property in the Properties window.
  2. Set the CrossTabFieldSortBySummaryInfo.FieldName property to the name of an assigned data source’s field. You can also define a field that is not currently displayed in the Cross Tab.
  3. Use the CrossTabFieldSortBySummaryInfo.SummaryType property to specify which summary function to calculate. The summary type can differ from the summary type currently used in the Cross Tab.
  4. Use the SortOrder property to define the sort order.

See Also