[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.UpdateFields

UpdateFields Method

UpdateFields(IPivotTable, Tuple<int, PivotFieldOrientation>[], Tuple<PivotDataField, string>[])

Update row, column, page fields, and data fields of a PivotTable report or PivotChart report.

Declaration
public static Command UpdateFields(IPivotTable pivotTable, Tuple<int, PivotFieldOrientation>[] pivotFields, Tuple<PivotDataField, string>[] dataFields)
Public Shared Function UpdateFields(pivotTable As IPivotTable, pivotFields As Tuple(Of Integer, PivotFieldOrientation)(), dataFields As Tuple(Of PivotDataField, String)()) As Command
Parameters
Type Name Description
IPivotTable pivotTable

The IPivotTable object.

Tuple<int, PivotFieldOrientation>[] pivotFields

The pivot fields of pivot table

Tuple<PivotDataField, string>[] dataFields

The data fields of pivot table

Returns
Type Description
Command

A update command.