ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.DataProcessing Namespace / ReportDataSnapshotExtensions Class / ApplyUserSort Method
Initial snapshot.
Report store
Interactive actions to be applied.
Custom evaluation context objects (custom code, user context, etc.)

In This Topic
    ApplyUserSort Method
    In This Topic
    Creates report data snapshot from a given one by applying sorting actions.
    Syntax
    'Declaration
     
    Public Shared Function ApplyUserSort( _
       ByVal snapshot As ReportDataSnapshot, _
       ByVal reportStore As ReportStore, _
       ByVal actions As IEnumerable(Of ActionKey), _
       Optional ByVal parameters() As GrapeCity.Enterprise.Data.DataEngine.DataProcessing.DataParameter, _
       Optional ByVal customContext As IReadOnlyDictionary(Of String,Func(Of CustomContextArgs,Object)) _
    ) As ReportDataSnapshot
    public static ReportDataSnapshot ApplyUserSort( 
       ReportDataSnapshot snapshot,
       ReportStore reportStore,
       IEnumerable<ActionKey> actions,
       GrapeCity.Enterprise.Data.DataEngine.DataProcessing.DataParameter[] parameters,
       IReadOnlyDictionary<string,Func<CustomContextArgs,object>> customContext
    )

    Parameters

    snapshot
    Initial snapshot.
    reportStore
    Report store
    actions
    Interactive actions to be applied.
    parameters
    customContext
    Custom evaluation context objects (custom code, user context, etc.)

    Return Value

    Sorted snapshot
    See Also