Interface ColDefBase

Definition

export interface ColDefBase<ValueType = any>

Comments

Properties to a define a column that is shared between community and pro editions.

Type Parameters

NameExtendsDefault ValueComments
ValueType(None)any

the type of the value of the column (e.g. string, number, or Date)

Properties

NameOptionalDefinitionComment
formattertrue(value: ValueType) => string

The formatter function for the column.

labelfalsestring

The display name of the property in places like the column heading.

namefalsestring

The name of the property for the column in the RowDef object.

sortabletrueboolean

Specifies whether the column is sortable.

@defaultValue

false

typefalseColDataTypeStrings

String that specifies the data type of the column.