DataTableAddColumns Method

Spotfire 14.3 API Reference
Adds columns from the columns retrieved from the dataSource using the settings in the settings parameter. Use CreateFileDataSource(String) to create a data source from a file path.

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

C#
public ColumnsChangedResult AddColumns(
	DataSource dataSource,
	AddColumnsSettings settings
)

Parameters

dataSource
Type: Spotfire.Dxp.DataDataSource
The data source to retrieve the new columns from.
settings
Type: Spotfire.Dxp.DataAddColumnsSettings
The settings to use when adding the columns to the current table.

Return Value

Type: ColumnsChangedResult
Information about the changes that occured in the table.
Remarks

If the settings specifies a join condition based on a calculated column, that column must be frozen. See Freeze.
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