ColumnMetaHelper
Constructors
new ColumnMetaHelper()
new ColumnMetaHelper(
column):ColumnMetaHelper
Parameters
| Parameter | Type |
|---|---|
column | Column<any, any> |
Returns
Source
Properties
| Property | Modifier | Type |
|---|---|---|
_colors | private | undefined | ColumnColorHelper |
_dialogs | private | undefined | ColumnDialogHelper |
_markers | private | undefined | ColumnMarkerHelper |
column | private | Column<any, any> |
Accessors
allowColorPicking
getallowColorPicking():boolean
setallowColorPicking(x):void
Parameters
| Parameter | Type |
|---|---|
x | boolean |
Returns
boolean
Source
autoChoices
getautoChoices():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.
setautoChoices(x):void
Parameters
| Parameter | Type |
|---|---|
x | boolean |
Returns
boolean
Source
cellRenderer
getcellRenderer():null|string
Specifies the units of the dataframe column.
setcellRenderer(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
choices
getchoices():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.
setchoices(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string[] |
Returns
null | string[]
Source
colors
getcolors():ColumnColorHelper
Returns
Source
description
getdescription():null|string
Column description (usually shown in tooltips)
setdescription(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
dialogs
getdialogs():ColumnDialogHelper
Returns
Source
format
getformat():null|string
Specifies the data format of the dataframe column. See also [GridColumn.format]
setformat(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
formula
getformula():null|string
When set, uses the formula to calculate the column values.
setformula(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
friendlyName
getfriendlyName():null|string
Specifies the name to be shown in the UI
setfriendlyName(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
includeInBinaryExport
getincludeInBinaryExport():boolean
Specifies whether the column is exported as part of the binary file. Defaults to true.
setincludeInBinaryExport(x):void
Parameters
| Parameter | Type |
|---|---|
x | boolean |
Returns
boolean
Source
includeInCsvExport
getincludeInCsvExport():boolean
Specifies whether the column is exported as part of the CSV file. Defaults to true.
setincludeInCsvExport(x):void
Parameters
| Parameter | Type |
|---|---|
x | boolean |
Returns
boolean
Source
linkClickBehavior
getlinkClickBehavior():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.
setlinkClickBehavior(x):void
Parameters
| Parameter | Type |
|---|---|
x | LINK_CLICK_BEHAVIOR |
Returns
Source
markers
getmarkers():ColumnMarkerHelper
Returns
Source
multiValueSeparator
getmultiValueSeparator():string
When specified, column filter treats the split strings as separate values. See also: https://datagrok.ai/help/visualize/viewers/filters#column-tags
setmultiValueSeparator(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
sourcePrecision
getsourcePrecision():null|number
Returns the maximum amount of significant digits detected in the column.
Returns
null | number
Source
units
getunits():null|string
Specifies the units of the dataframe column.
setunits(x):void
Parameters
| Parameter | Type |
|---|---|
x | null | string |
Returns
null | string
Source
Methods
setNonNullTag()
privatesetNonNullTag(key,value):void
Parameters
| Parameter | Type |
|---|---|
key | string |
value | null | string |
Returns
void