Class TableSortLayer
- Namespace
- OfficeOpenXml.Sorting
- Assembly
- EPPlus.dll
Table sort layer
public class TableSortLayer : SortLayerBase
- Inheritance
-
TableSortLayer
- Inherited Members
Methods
Column(int)
Sorts by the column that corresponds to the column
(zerobased) with ascending sort direction
public TableSortLayerBuilder Column(int column)
Parameters
column
intThe column to sort
Returns
- TableSortLayerBuilder
A TableSortLayerBuilder for adding more sort criterias
Column(int, eSortOrder)
Sorts by the column that corresponds to the column
(zerobased) using the supplied sort direction.
public TableSortLayerBuilder Column(int column, eSortOrder sortOrder)
Parameters
column
intThe column to sort
sortOrder
eSortOrderAscending or Descending sort
Returns
- TableSortLayerBuilder
A TableSortLayerBuilder for adding more sort criterias
ColumnNamed(string)
Sorts by the column that corresponds to the columnName
ith ascending sort direction
public TableSortLayerBuilder ColumnNamed(string columnName)
Parameters
Returns
- 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.
public TableSortLayerBuilder ColumnNamed(string columnName, eSortOrder sortOrder)
Parameters
columnName
stringName of the column to sort, see Name
sortOrder
eSortOrderAscending or Descending sort
Returns
- TableSortLayerBuilder
A TableSortLayerBuilder for adding more sort criterias