sort_by method
Contents
[
Hide
]sort_by
Sorts this pivot field.
def sort_by(self, sort_type, field_sorted_by):
...
Parameter | Type | Description |
---|---|---|
sort_type | SortOrder | The type of sorting this field. |
field_sorted_by | int | 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. |
sort_by
Sorts this pivot field.
def sort_by(self, sort_type, field_sorted_by, data_type, cell_name):
...
Parameter | Type | Description |
---|---|---|
sort_type | SortOrder | The type of sorting this field. |
field_sorted_by | int | 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. |
data_type | PivotLineType | The type of data sorted by. |
cell_name | str | Sort by values in the row or column |
See Also
- module
aspose.cells.pivot
- class
PivotField