combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / ITable Interface / ApplySort Method
Sort order name as passed by your data provider's SortDescriptions Property.
Example


In This Topic
    ApplySort Method
    In This Topic
    This method is called to set a sorting on the rows of the table. It will only be called if the SupportsSorting Property returns true. If your data provider doesn't support sorting, you don't need to implement this method and may safely throw a NotImplementedException.
    Syntax
    'Declaration
     
    
    Sub ApplySort( _
       ByVal sortDescription As String _
    ) 
    void ApplySort( 
       string sortDescription
    )
    void ApplySort( 
       String^ sortDescription
    ) 

    Parameters

    sortDescription
    Sort order name as passed by your data provider's SortDescriptions Property.
    Example
    public void SetSortOrder(string sortOrder)
    {
        _dataView.Sort = sortOrder;
    }
    Public Sub SetSortOrder(sortOrder As String)
        _dataView.Sort = sortOrder
    End Sub
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also