PivotField.SortBy
Contents
[
Hide
]SortBy(SortOrder, int)
Sorts this pivot field.
public void SortBy(SortOrder sortType, int fieldSortedBy)
Parameter | Type | Description |
---|---|---|
sortType | SortOrder | The type of sorting this field. |
fieldSortedBy | Int32 | The index of pivot field sorted by. -1 means sorting by data labels of this field, others mean the index of data field sorted by. |
See Also
- enum SortOrder
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells
SortBy(SortOrder, int, PivotLineType, string)
Sorts this pivot field.
public void SortBy(SortOrder sortType, int fieldSortedBy, PivotLineType dataType, string cellName)
Parameter | Type | Description |
---|---|---|
sortType | SortOrder | The type of sorting this field. |
fieldSortedBy | Int32 | The index of pivot field sorted by. -1 means sorting by data labels of this field, others mean the index of data field sorted by. |
dataType | PivotLineType | The type of data sorted by. |
cellName | String | Sort by values in the row or column |
See Also
- enum SortOrder
- enum PivotLineType
- class PivotField
- namespace Aspose.Cells.Pivot
- assembly Aspose.Cells