Skip to main content

ColumnMetaHelper

Constructors

new ColumnMetaHelper()

new ColumnMetaHelper(column): ColumnMetaHelper

Parameters

ParameterType
columnColumn<any, any>

Returns

ColumnMetaHelper

Source

src/dataframe.ts:2685

Properties

PropertyModifierType
_colorsprivateundefined | ColumnColorHelper
_dialogsprivateundefined | ColumnDialogHelper
_markersprivateundefined | ColumnMarkerHelper
columnprivateColumn<any, any>

Accessors

allowColorPicking

get allowColorPicking(): boolean

set allowColorPicking(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/dataframe.ts:2774


autoChoices

get autoChoices(): boolean

When set to 'true', switches the cell editor to a combo box that only allows to choose values from a list of already existing values in the column. Applicable for string columns only. See also choices.

set autoChoices(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/dataframe.ts:2751


cellRenderer

get cellRenderer(): null | string

Specifies the units of the dataframe column.

set cellRenderer(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2738


choices

get choices(): null | string[]

When set, switches the cell editor to a combo box that only allows to choose specified values. Applicable for string columns only. See also autoChoices.

set choices(x): void

Parameters

ParameterType
xnull | string[]

Returns

null | string[]

Source

src/dataframe.ts:2744


colors

get colors(): ColumnColorHelper

Returns

ColumnColorHelper

Source

src/dataframe.ts:2695


description

get description(): null | string

Column description (usually shown in tooltips)

set description(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2719


dialogs

get dialogs(): ColumnDialogHelper

Returns

ColumnDialogHelper

Source

src/dataframe.ts:2689


format

get format(): null | string

Specifies the data format of the dataframe column. See also [GridColumn.format]

set format(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2723


formula

get formula(): null | string

When set, uses the formula to calculate the column values.

set formula(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2730


friendlyName

get friendlyName(): null | string

Specifies the name to be shown in the UI

set friendlyName(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2715


includeInBinaryExport

get includeInBinaryExport(): boolean

Specifies whether the column is exported as part of the binary file. Defaults to true.

set includeInBinaryExport(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/dataframe.ts:2766


includeInCsvExport

get includeInCsvExport(): boolean

Specifies whether the column is exported as part of the CSV file. Defaults to true.

set includeInCsvExport(x): void

Parameters

ParameterType
xboolean

Returns

boolean

Source

src/dataframe.ts:2762


linkClickBehavior

get linkClickBehavior(): LINK_CLICK_BEHAVIOR

Specifies the behavior of link click (open in new tab, open in context panel, custom). Open in new tab is used by default.

set linkClickBehavior(x): void

Parameters

ParameterType
xLINK_CLICK_BEHAVIOR

Returns

LINK_CLICK_BEHAVIOR

Source

src/dataframe.ts:2756


markers

get markers(): ColumnMarkerHelper

Returns

ColumnMarkerHelper

Source

src/dataframe.ts:2701


multiValueSeparator

get multiValueSeparator(): string

When specified, column filter treats the split strings as separate values. See also: https://datagrok.ai/help/visualize/viewers/filters#column-tags

set multiValueSeparator(x): void

Parameters

ParameterType
xstring

Returns

string

Source

src/dataframe.ts:2771


sourcePrecision

get sourcePrecision(): null | number

Returns the maximum amount of significant digits detected in the column.

Returns

null | number

Source

src/dataframe.ts:2727


units

get units(): null | string

Specifies the units of the dataframe column.

set units(x): void

Parameters

ParameterType
xnull | string

Returns

null | string

Source

src/dataframe.ts:2734

Methods

setNonNullTag()

private setNonNullTag(key, value): void

Parameters

ParameterType
keystring
valuenull | string

Returns

void

Source

src/dataframe.ts:2707