ResultAccumulator AddTable Method (CalculationResultsIdentifier, String, IEnumerable ColumnBuilder ) TIBCO Spotfire 6.0 API Reference
Adds a completely new DataTable consisting of the columns provided here or replaces them if the table already exists.

Namespace: Spotfire.Dxp.Application.Calculations
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void AddTable(
	CalculationResultsIdentifier id,
	string tableName,
	IEnumerable<ColumnBuilder> newColumns
)

Parameters

id
Type: Spotfire.Dxp.Application.Calculations CalculationResultsIdentifier
A unique identifier for this result.
tableName
Type: System String
The name of the DataTable to create. If the table exists and is given another name it will be renamed. If the name is not unique it will be made unique.
newColumns
Type: System.Collections.Generic IEnumerable ColumnBuilder 
ColumnBuilder instances containing the values that the columns should contain. Column names will be made unique within the table.
Exceptions

ExceptionCondition
System NotSupportedExceptionIf multiple calls are made with the same id but differing tableName.
Remarks

This method can be called multiple times with new builders to add to the same id within a calculation. In that case they all need to reference the same table.
See Also