Table of Contents

Property InteractiveSorts

Namespace
DocWright.Reporting.Processing
Assembly
DocWright.Reporting.dll

InteractiveSorts

Gets the interactive sorts to apply, in the order they were made: what a viewer collects when someone clicks a text box that offers one (UserSort), and Shift+clicks another.

public IList<ReportInteractiveSort> InteractiveSorts { get; }

Property Value

IList<ReportInteractiveSort>

Remarks

Each request names a text box. Its UserSort says what to sort by and where: the SortExpressionScope — a group, whose instances are reordered by the expression evaluated in each; a data region, whose rows are reordered before they are grouped; or a dataset, which sorts the rows of every data region reading it — or, when it states none, the text box's own scope: the innermost group it sits in, else its data region, else the report's only dataset. A SortTarget must contain that scope. The first request for a scope replaces the sort the definition wrote for it; a later request for the same scope adds a secondary key, as Shift+click does.

A request that cannot be applied — no such text box, no UserSort on it, a scope or target the report does not have — is reported as DXP9504 and the report keeps its authored order; strict mode stops the run instead. Requests apply to this report only: a subreport runs with none.