Skip to main content

IAddNewCalculatedOptions<T>

Defined in: js-api/src/dataframe/column-list.ts:44

Options for ColumnList.addNewCalculated.

Type Parameters​

Type ParameterDefault type
T extends ColumnType | "auto""auto"

Properties​

PropertyTypeDescriptionDefined in
onError?CalculatedColumnOnError<CalculatedColumnValue<T>>What to do with the rows the formula fails on; they stay empty by default.js-api/src/dataframe/column-list.ts:52
subscribeOnChanges?booleanRecalculates the column when its source columns change; true by default.js-api/src/dataframe/column-list.ts:50
treatAsString?booleanStores the expression as a string value instead of evaluating it; false by default.js-api/src/dataframe/column-list.ts:48
type?TType of the result column; 'auto' (the default) takes it from what the formula returns.js-api/src/dataframe/column-list.ts:46