Interface SetCellOptions

An optional value for SetOperators that want to tailor the user description.

interface SetCellOptions {
    autoFit?: boolean | AutoFitOptions | HeaderOrientation;
    description?: string;
    noSelectOnUndo?: boolean;
    parseTextAsValue?: boolean | CellUpdateFromStringOptions;
}

Hierarchy (view full)

Properties

autoFit?: boolean | AutoFitOptions | HeaderOrientation

Determines if the cells that are set should autoFit.

Default Value

true (meaning  autoFit in both directions)
description?: string

A description that is used for versioning and tracking changes.

Default Value

'determined by the consumer'
noSelectOnUndo?: boolean

If true then the selection will not be included in an undo operation.

Default Value

false
parseTextAsValue?: boolean | CellUpdateFromStringOptions

If this is set to true string values will try to be coerce into numbers, dates, and booleans.

Remarks

If a function is passed this will still attempt to coerce the value but will also called the function and take it's return value if not void