|  | 
| 1 |  | -<!-- default badges list --> | 
| 2 |  | - | 
| 3 |  | -[](https://supportcenter.devexpress.com/ticket/details/T501894) | 
| 4 |  | -[](https://docs.devexpress.com/GeneralInformation/403183) | 
| 5 |  | -[](#does-this-example-address-your-development-requirementsobjectives) | 
| 6 |  | -<!-- default badges end --> | 
| 7 |  | - | 
| 8 |  | -# Spreadsheet Document API - Manage Pivot Tables in Code | 
| 9 |  | - | 
| 10 |  | -This example demonstrates how to use the [Spreadsheet Document API](https://docs.devexpress.com/OfficeFileAPI/14912/Spreadsheet-Document-API) to create and modify pivot tables in code. | 
| 11 |  | - | 
| 12 |  | -The application form contains the list of supported operations. A user can select an operation and click the **Run** button to view the resulting spreadsheet document in Microsoft Excel. | 
| 13 |  | - | 
| 14 |  | -> [!IMPORTANT] | 
| 15 |  | -> The **Universal Subscription** or an additional **Office File API Subscription** is required to use this example in production code. Please refer to the following page for pricing information: [DevExpress Subscription](https://www.devexpress.com/Buy/NET/) | 
| 16 |  | - | 
| 17 |  | -## Files to Look At | 
| 18 |  | - | 
| 19 |  | -| C# | Visual Basic | | 
| 20 |  | -|---|---| | 
| 21 |  | -| [PivotCalculatedFieldActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedFieldActions.cs) | [PivotCalculatedFieldActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedFieldActions.vb) | | 
| 22 |  | -| [PivotCalculatedItemActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedItemActions.cs) | [PivotCalculatedItemActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedItemActions.vb) | | 
| 23 |  | -| [PivotFieldActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldActions.cs) | [PivotFieldActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldActions.vb) | | 
| 24 |  | -| [PivotFieldGroupingActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldGroupingActions.cs) | [PivotFieldGroupingActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldGroupingActions.vb) | | 
| 25 |  | -| [PivotTableActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.cs) | [PivotTableActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.vb) | | 
| 26 |  | -| [PivotTableFilterActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFilterActions.cs) | [PivotTableFilterActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFilterActions.vb) | | 
| 27 |  | -| [PivotTableFormattingActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFormattingActions.cs) | [PivotTableFormattingActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFormattingActions.vb) | | 
| 28 |  | -| [PivotTableLayoutActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableLayoutActions.cs) | [PivotTableLayoutActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableLayoutActions.vb) | | 
| 29 |  | -| [ValueFieldSettingsActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/ValueFieldSettingsActions.cs) | [ValueFieldSettingsActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/ValueFieldSettingsActions.vb) | | 
| 30 |  | - | 
| 31 |  | -## Documentation | 
| 32 |  | - | 
| 33 |  | -* [Spreadsheet Pivot Tables](https://docs.devexpress.com/OfficeFileAPI/118492/spreadsheet-document-api/pivot-tables) | 
| 34 |  | -* [Pivot Table Examples](https://docs.devexpress.com/OfficeFileAPI/118495/spreadsheet-document-api/examples/pivot-tables) | 
| 35 |  | -<!-- feedback --> | 
| 36 |  | -## Does this example address your development requirements/objectives? | 
| 37 |  | - | 
| 38 |  | -[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=spreadsheet-document-api-pivot-table-examples&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=spreadsheet-document-api-pivot-table-examples&~~~was_helpful=no) | 
| 39 |  | - | 
| 40 |  | -(you will be redirected to DevExpress.com to submit your response) | 
| 41 |  | -<!-- feedback end --> | 
|  | 1 | +<!-- default badges list --> | 
|  | 2 | + | 
|  | 3 | +[](https://supportcenter.devexpress.com/ticket/details/T501894) | 
|  | 4 | +[](https://docs.devexpress.com/GeneralInformation/403183) | 
|  | 5 | +[](#does-this-example-address-your-development-requirementsobjectives) | 
|  | 6 | +<!-- default badges end --> | 
|  | 7 | + | 
|  | 8 | +# Spreadsheet Document API - Manage Pivot Tables in Code | 
|  | 9 | + | 
|  | 10 | +This example demonstrates how to use the [Spreadsheet Document API](https://docs.devexpress.com/OfficeFileAPI/14912/Spreadsheet-Document-API) to create and modify pivot tables in code. | 
|  | 11 | + | 
|  | 12 | +The application form contains the list of supported operations. A user can select an operation and click the **Run** button to view the resulting spreadsheet document in Microsoft Excel. | 
|  | 13 | + | 
|  | 14 | +> [!IMPORTANT] | 
|  | 15 | +> The **Universal Subscription** or an additional **Office File API Subscription** is required to use this example in production code. Please refer to the following page for pricing information: [DevExpress Subscription](https://www.devexpress.com/Buy/NET/) | 
|  | 16 | + | 
|  | 17 | +## Files to Look At | 
|  | 18 | + | 
|  | 19 | +| C# | Visual Basic | | 
|  | 20 | +|---|---| | 
|  | 21 | +| [PivotCalculatedFieldActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedFieldActions.cs) | [PivotCalculatedFieldActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedFieldActions.vb) | | 
|  | 22 | +| [PivotCalculatedItemActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedItemActions.cs) | [PivotCalculatedItemActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotCalculatedItemActions.vb) | | 
|  | 23 | +| [PivotFieldActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldActions.cs) | [PivotFieldActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldActions.vb) | | 
|  | 24 | +| [PivotFieldGroupingActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldGroupingActions.cs) | [PivotFieldGroupingActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotFieldGroupingActions.vb) | | 
|  | 25 | +| [PivotTableActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.cs) | [PivotTableActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableActions.vb) | | 
|  | 26 | +| [PivotTableFilterActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFilterActions.cs) | [PivotTableFilterActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFilterActions.vb) | | 
|  | 27 | +| [PivotTableFormattingActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFormattingActions.cs) | [PivotTableFormattingActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableFormattingActions.vb) | | 
|  | 28 | +| [PivotTableLayoutActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableLayoutActions.cs) | [PivotTableLayoutActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/PivotTableLayoutActions.vb) | | 
|  | 29 | +| [ValueFieldSettingsActions.cs](./CS/SpreadsheetDocServerPivotAPI/CodeExamples/ValueFieldSettingsActions.cs) | [ValueFieldSettingsActions.vb](./VB/SpreadsheetDocServerPivotAPI/CodeExamples/ValueFieldSettingsActions.vb) | | 
|  | 30 | + | 
|  | 31 | +## Documentation | 
|  | 32 | + | 
|  | 33 | +* [Spreadsheet Pivot Tables](https://docs.devexpress.com/OfficeFileAPI/118492/spreadsheet-document-api/pivot-tables) | 
|  | 34 | +* [Pivot Table Examples](https://docs.devexpress.com/OfficeFileAPI/118495/spreadsheet-document-api/examples/pivot-tables) | 
|  | 35 | +<!-- feedback --> | 
|  | 36 | +## Does this example address your development requirements/objectives? | 
|  | 37 | + | 
|  | 38 | +[<img src="https://www.devexpress.com/support/examples/i/yes-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=spreadsheet-document-api-pivot-table-examples&~~~was_helpful=yes) [<img src="https://www.devexpress.com/support/examples/i/no-button.svg"/>](https://www.devexpress.com/support/examples/survey.xml?utm_source=github&utm_campaign=spreadsheet-document-api-pivot-table-examples&~~~was_helpful=no) | 
|  | 39 | + | 
|  | 40 | +(you will be redirected to DevExpress.com to submit your response) | 
|  | 41 | +<!-- feedback end --> | 
0 commit comments