Options
All
  • Public
  • Public/Protected
  • All
Menu

Single instance of a column in the table

Type Parameters

  • SuppliedDataType = unknown

Hierarchy

  • TableColumn

Index

Properties

action?: TableColumnAction<SuppliedDataType>

Optional ability to render a <button> in the column cell.

cellClass?: string | ((row: SuppliedDataType) => string)

Class name for the table cell <td>

formControl?: { placeholder?: string; validators?: ValidatorFn | ValidatorFn[] }

Configuration for inline editing fields.

Type declaration

  • Optional placeholder?: string
  • Optional validators?: ValidatorFn | ValidatorFn[]
header: string | ((arg: HeaderTransform<SuppliedDataType>) => string)

Column header text

headerClass?: string | ((row: SuppliedDataType) => string)

Columns header class name <th>

hidden?: boolean | (() => boolean)

Toggle for visibility of the column

key: Extract<keyof SuppliedDataType, string>

Property of the SuppliedDataType

sortable?: boolean

Toggle to disabled sorting on the column

status?: TableStatus

Used to render a status <linq-status-chip> in the column

template?: TemplateRef<any> | ((arg: TemplateArg<SuppliedDataType>) => TemplateRef<any> | "checkbox" | "datepicker" | "input" | "text")

Ability to render any element inside the table cell

width?: string | number

Width of the column

Methods

  • Transform the supplied data value

    Parameters

    Returns string

Generated using TypeDoc