xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrlabel-740293f8.md
Enables sorting a report in Print Preview by clicking the XRLabel.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[SRCategory(ReportStringId.CatBehavior)]
public SortingOptions InteractiveSorting { get; }
<SRCategory(ReportStringId.CatBehavior)>
Public ReadOnly Property InteractiveSorting As SortingOptions
| Type | Description |
|---|---|
| SortingOptions |
A SortingOptions object.
|
The following image illustrates how to access the InteractiveSorting option in the Properties window.
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