Class PivotTable
public class PivotTable
- Inheritance
-
PivotTable
- Inherited Members
- Extension Methods
Constructors
PivotTable()
public PivotTable()
Properties
CellValueSum
public int CellValueSum { get; }
Property Value
ColumnDimensions
public PivotDimensionList ColumnDimensions { get; }
Property Value
Columns
public IPivotDimensionNode Columns { get; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
RowDimensions
public PivotDimensionList RowDimensions { get; }
Property Value
Rows
public IPivotDimensionNode Rows { get; }
Property Value
Methods
AddColumn(string)
public void AddColumn(string name)
Parameters
namestring
AddColumn(string, string[])
Adds a column dimension to the pivot table.
public void AddColumn(string name, string[] units)
Parameters
AddRow(string)
public void AddRow(string name)
Parameters
namestring
AddRow(string, string[])
Adds a row dimension to the pivot table.
public void AddRow(string name, string[] units)
Parameters
GetCell(MultiKey<string>, MultiKey<string>)
public IPivotCell GetCell(MultiKey<string> row, MultiKey<string> column)
Parameters
Returns
GetCellValue(MultiKey<string>, MultiKey<string>)
Gets the value for the cell indexed by a specific row and column.
public int? GetCellValue(MultiKey<string> row, MultiKey<string> column)
Parameters
Returns
- int?
GetColumn(MultiKey<string>)
public IPivotDimensionNode GetColumn(MultiKey<string> key)
Parameters
Returns
GetRow(MultiKey<string>)
public IPivotDimensionNode GetRow(MultiKey<string> key)
Parameters
Returns
SetCellValue(MultiKey<string>, MultiKey<string>, int?)
Sets the value for the cell indexed by a specific row and column.
public void SetCellValue(MultiKey<string> row, MultiKey<string> column, int? value)
Parameters
ToHtml(RenderOptions)
Returns the HTML for the pivot table.
public string ToHtml(PivotTable.RenderOptions options = null)
Parameters
optionsPivotTable.RenderOptions