[]
Initializes a new command to modify GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.PivotTable data field settings.
public static Command UpdateDataFieldSettings(IPivotTable pivotTable, IPivotField pivotField, ConsolidationFunction? function = null, PivotFieldCalculation? calculation = null)
Public Shared Function UpdateDataFieldSettings(pivotTable As IPivotTable, pivotField As IPivotField, Optional [function] As ConsolidationFunction? = Nothing, Optional calculation As PivotFieldCalculation? = Nothing) As Command
| Type | Name | Description |
|---|---|---|
| IPivotTable | pivotTable | The PivotTable report |
| IPivotField | pivotField | |
| ConsolidationFunction? | function | A ConsolidationFunction value that represents the subtotal function of the specified field. |
| PivotFieldCalculation? | calculation | A PivotFieldCalculation value that represents the type of calculation performed by the specified field. |
| Type | Description |
|---|---|
| Command |