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

XRLabel.InteractiveSorting Property

Enables sorting a report in Print Preview by clicking the XRLabel.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[SRCategory(ReportStringId.CatBehavior)]
public SortingOptions InteractiveSorting { get; }

#Property Value

Type Description
SortingOptions

A SortingOptions object.

#Remarks

The following image illustrates how to access the InteractiveSorting option in the Properties window.

interactive-sorting-header

To enable sorting the report data in Print Preview, set the SortingOptions.TargetBand property to the required Group Header or Detail band, and the SortingOptions.FieldName property to the corresponding group field.

Note

Reports embedded into the current report using the XRSubreport control do not support interactive data sorting.

To learn more, see Sorting a Report in Print Preview.

See Also