Aspose::Cells::Pivot::PivotField::SortBy method
PivotField::SortBy(SortOrder) method
Sorts this pivot field.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
See Also
- Class Vector
- Enum SortOrder
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::SortBy(SortOrder, int32_t) method
Sorts this pivot field.
Deprecated
Use PivotField.SortBy(SortOrder, int,string) method or PivotField.IsAutoSort property instead.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
| fieldSortedBy | int32_t | 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. |
Remarks
NOTE: This property is now obsolete. Instead, please use PivotField.SortBy(SortOrder, int,string) method or PivotField.IsAutoSort property instead. This method will be removed 12 months later since September 2026. Aspose apologizes for any inconvenience you may have experienced.
See Also
- Class Vector
- Enum SortOrder
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::SortBy(SortOrder, int32_t, PivotLineType, const U16String&) method
Sorts this pivot field.
Deprecated
Use PivotField.SortBy(SortOrder, int,string) method instead.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, PivotLineType dataType, const U16String &cellName)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
| fieldSortedBy | int32_t | 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 | const U16String& | Sort by values in the row or column |
Remarks
NOTE: This property is now obsolete. Instead, please use PivotField.SortBy(SortOrder, int,string) method instead. This method will be removed 12 months later since September 2026. Aspose apologizes for any inconvenience you may have experienced.
See Also
- Class Vector
- Enum SortOrder
- Enum PivotLineType
- Class U16String
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::SortBy(SortOrder, int32_t, PivotLineType, const char16_t*) method
Sorts this pivot field.
Deprecated
Use PivotField.SortBy(SortOrder, int,string) method instead.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, PivotLineType dataType, const char16_t *cellName)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
| fieldSortedBy | int32_t | 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 | const char16_t* | Sort by values in the row or column |
Remarks
NOTE: This property is now obsolete. Instead, please use PivotField.SortBy(SortOrder, int,string) method instead. This method will be removed 12 months later since September 2026. Aspose apologizes for any inconvenience you may have experienced.
See Also
- Class Vector
- Enum SortOrder
- Enum PivotLineType
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::SortBy(SortOrder, int32_t, const U16String&) method
Sorts this pivot field.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, const U16String &cellName)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
| fieldSortedBy | int32_t | 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. |
| cellName | const U16String& | Sort by values in the row or column. If Null, group by total of the field, else group by values in selected column or row. |
See Also
- Class Vector
- Enum SortOrder
- Class U16String
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++
PivotField::SortBy(SortOrder, int32_t, const char16_t*) method
Sorts this pivot field.
void Aspose::Cells::Pivot::PivotField::SortBy(SortOrder sortType, int32_t fieldSortedBy, const char16_t *cellName)
| Parameter | Type | Description |
|---|---|---|
| sortType | SortOrder | The type of sorting this field. |
| fieldSortedBy | int32_t | 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. |
| cellName | const char16_t* | Sort by values in the row or column. If Null, group by total of the field, else group by values in selected column or row. |
See Also
- Class Vector
- Enum SortOrder
- Class PivotField
- Namespace Aspose::Cells::Pivot
- Library Aspose.Cells for C++