Update cell style for pivot table

This REST API updates the style of a cell in a pivot table.

REST API

POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Format

The request parameters are:

Parameter Name Type Location Description
name string path Document name.
sheetName string path Worksheet name.
pivotTableIndex integer path Index of the pivot table.
column integer query Zero‑based column index of the cell to format.
row integer query Zero‑based row index of the cell to format.
style object body Style DTO (data‑transfer object) that defines the new cell style.
needReCalculate boolean query Indicates whether the pivot table should be recalculated after styling. Default is false.
folder string query Folder where the document is stored.
storageName string query Name of the storage.

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make a call to the Cloud API with cURL.

Cloud SDK Family

Using an SDK is the fastest way to develop. An SDK abstracts low‑level details, allowing you to focus on your business logic. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code example demonstrates how to call Aspose.Cells web services using the Go SDK: