Object used in Format Column function

TypeScript
export interface FormatColumn extends
Extends

SuspendableObject

Properties

PropertyDescriptionDefault
ColumnGroupScopeWhen to format Columns in Column Groups ('Expanded', 'Collapsed', 'Both')
DisplayFormatDisplay Format to apply to Column can be Numeric, String or Date
NameName of the Format Column definition
RowScopeWhich types of Rows to apply format (data, grouped, summary, total)
RuleRule to decide whether to apply Format; if undefined Format is always applied
ScopeWhere Format will be applied: whole Row, some Columns, or Columns of DataType
StyleAdapTable Style to apply
TargetWhere in Column to apply Format (cell or columnHeader)'cell'
IsReadOnlySets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsSuspendedSuspends (i.e. turns off) an Adaptable Object

Property Details

ColumnGroupScope

When to format Columns in Column Groups ('Expanded', 'Collapsed', 'Both')

TypeScript
ColumnGroupScope?: ColumnGroupScope;
Property Value

ColumnGroupScope

DisplayFormat

Display Format to apply to Column can be Numeric, String or Date

TypeScript
DisplayFormat?: AdaptableFormat;
Property Value

AdaptableFormat

Name

Name of the Format Column definition

TypeScript
Name: string;
Property Value

string

RowScope

Which types of Rows to apply format (data, grouped, summary, total)

TypeScript
RowScope?: RowScope;
Property Value

RowScope

Rule

Rule to decide whether to apply Format; if undefined Format is always applied

TypeScript
Rule?: FormatColumnRule;
Property Value

FormatColumnRule

Scope

Where Format will be applied: whole Row, some Columns, or Columns of DataType

TypeScript
Scope: ColumnScope;
Property Value

ColumnScope

Style

AdapTable Style to apply

TypeScript
Style?: AdaptableStyle;
Property Value

AdaptableStyle

Target

Where in Column to apply Format (cell or columnHeader)

TypeScript
Target?: FormatColumnTarget;
Default Value

'cell'

Property Value

FormatColumnTarget

IsSuspended

Inherited from SuspendableObject

Suspends (i.e. turns off) an Adaptable Object

TypeScript
IsSuspended?: boolean;
Property Value

boolean

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean