DataTable AddColumns Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public ColumnsChangedResult AddColumns(
	DataSource dataSource,
	AddColumnsSettings settings
)

Parameters

dataSource
Type: Spotfire.Dxp.Data DataSource
The data source to retrieve the new columns from.
settings
Type: Spotfire.Dxp.Data AddColumnsSettings
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 .
See Also