TableColumnCollectionAdd Method (DataColumn, TypeIdentifier)

Spotfire 14.3 API Reference
Adds a table plot column with a value renderer for the specified data column.

Namespace:  Spotfire.Dxp.Application.Visuals
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public void Add(
	DataColumn dataColumn,
	TypeIdentifier rendererIdentifier
)

Parameters

dataColumn
Type: Spotfire.Dxp.DataDataColumn
The data column.
rendererIdentifier
Type: Spotfire.Dxp.Framework.DocumentModelTypeIdentifier
The type identifier of the value renderer that the plot column should have.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if a table plot column already exists for the data column or the data column belongs to another data table than the one the plot is based on.
-or-
Thrown if the rendererIdentifier is VirtualValueRenderer. VirtualValueRenderer is not supported in the table plot, add a virtual column to the plot instead.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference