CoreColumn

external interface CoreColumn<TData : RowData, TValue>(source)

Inheritors

Properties

Link copied to clipboard
abstract external val accessorFn: AccessorFn<TData, TValue>?

The resolved accessor function to use when extracting the value for the column from each row. Will only be defined if the column def has a valid accessor key or function defined. API Docs Guide

Link copied to clipboard
abstract external val columnDef: ColumnDef<TData, TValue>

The original column def used to create the column. API Docs Guide

Link copied to clipboard
abstract external val columns: ReadonlyArray<Column<TData, TValue>>

The child column (if the column is a group column). Will be an empty array if the column is not a group column. API Docs Guide

Link copied to clipboard
abstract external val depth: Int

The depth of the column (if grouped) relative to the root column def array. API Docs Guide

Link copied to clipboard
abstract external val getFlatColumns: () -> ReadonlyArray<Column<TData, TValue>>

Returns the flattened array of this column and all child/grand-child columns for this column. API Docs Guide

Link copied to clipboard
abstract external val getLeafColumns: () -> ReadonlyArray<Column<TData, TValue>>

Returns an array of all leaf-node columns for this column. If a column has no children, it is considered the only leaf-node column. API Docs Guide

Link copied to clipboard
abstract external val id: String

The resolved unique identifier for the column resolved in this priority:

Link copied to clipboard
abstract external val parent: Column<TData, TValue>?

The parent column for this column. Will be undefined if this is a root column. API Docs Guide