Aspose::Cells::Pivot::PivotField::SortBy method

PivotField::SortBy(SortOrder, int32_t) method

Sorts this pivot field.

void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy)
ParameterTypeDescription
sortTypeSortOrderThe type of sorting this field.
fieldSortedByint32_tThe 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

PivotField::SortBy(SortOrder, int32_t, PivotLineType, const U16String&) method

Sorts this pivot field.

void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, PivotLineType dataType, const U16String &cellName)
ParameterTypeDescription
sortTypeSortOrderThe type of sorting this field.
fieldSortedByint32_tThe index of pivot field sorted by. -1 means sorting by data labels of this field, others mean the index of data field sorted by.
dataTypePivotLineTypeThe type of data sorted by.
cellNameconst U16String&Sort by values in the row or column

See Also

PivotField::SortBy(SortOrder, int32_t, PivotLineType, const char16_t*) method

Sorts this pivot field.

void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, PivotLineType dataType, const char16_t *cellName)
ParameterTypeDescription
sortTypeSortOrderThe type of sorting this field.
fieldSortedByint32_tThe index of pivot field sorted by. -1 means sorting by data labels of this field, others mean the index of data field sorted by.
dataTypePivotLineTypeThe type of data sorted by.
cellNameconst char16_t*Sort by values in the row or column

See Also