Show / Hide Table of Contents

Class TableSortLayer

Inheritance
System.Object
SortLayerBase
TableSortLayer
Inherited Members
SortLayerBase.SetColumn(Int32)
SortLayerBase.SetColumn(Int32, eSortOrder)
SortLayerBase.SetRow(Int32)
SortLayerBase.SetRow(Int32, eSortOrder)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll
Syntax
public class TableSortLayer : SortLayerBase

Methods

Column(Int32)

Sorts by the column that corresponds to the column (zerobased) with ascending sort direction

Declaration
public TableSortLayerBuilder Column(int column)
Parameters
Type Name Description
System.Int32 column

The column to sort

Returns
Type Description
TableSortLayerBuilder

A TableSortLayerBuilder for adding more sort criterias

Column(Int32, eSortOrder)

Sorts by the column that corresponds to the column (zerobased) using the supplied sort direction.

Declaration
public TableSortLayerBuilder Column(int column, eSortOrder sortOrder)
Parameters
Type Name Description
System.Int32 column

The column to sort

eSortOrder sortOrder

Ascending or Descending sort

Returns
Type Description
TableSortLayerBuilder

A TableSortLayerBuilder for adding more sort criterias

ColumnNamed(String)

Sorts by the column that corresponds to the columnName ith ascending sort direction

Declaration
public TableSortLayerBuilder ColumnNamed(string columnName)
Parameters
Type Name Description
System.String columnName

The name of the column to sort, see Name.

Returns
Type Description
TableSortLayerBuilder

A TableSortLayerBuilder for adding more sort criterias

ColumnNamed(String, eSortOrder)

Sorts by the column that corresponds to the columnName using the supplied sort direction.

Declaration
public TableSortLayerBuilder ColumnNamed(string columnName, eSortOrder sortOrder)
Parameters
Type Name Description
System.String columnName

Name of the column to sort, see Name

eSortOrder sortOrder

Ascending or Descending sort

Returns
Type Description
TableSortLayerBuilder

A TableSortLayerBuilder for adding more sort criterias

Back to top Generated by DocFX