Format Pivot Table Cells
Contents
[
Hide
]
Sometimes, you want to format pivot table cells. For example, you want to apply background color to pivot table cells. Aspose.Cells for Python via .NET provides two methods PivotTable.format_all(style) and PivotTable.format(row, column, style), which you can use for this purpose.
PivotTable.format_all(style) applies the style to entire pivot table while PivotTable.format(row, column, style) applies the style to a single cell of the pivot table.