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
columnintThe 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
columnintThe column to sort
sortOrdereSortOrderAscending 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
columnNamestringName of the column to sort, see Name
sortOrdereSortOrderAscending or Descending sort
Returns
- TableSortLayerBuilder
A TableSortLayerBuilder for adding more sort criterias