ngx-panemu-table / TypeAlias

ColumnType

Column type discriminator. Drives default formatter, alignment, filter editor and cell editor behaviour.

  • 'string' Default. Value displayed as is.
  • 'int' Value is displayed right-aligned.
  • 'decimal' Value is displayed right-aligned and formatted as local number incorporating angular LOCALE_ID.
  • 'date' Value is displayed in 'EEE, d MMM yyyy' format.
  • 'datetime' Value is displayed in 'd MMM yyyy H:mm:ss' format.
  • 'boolean' Boolean value.
  • 'map' Used specifically by MapColumn. The value is displayed as configured in valueMap parameter.
  • 'tick' Used specifically by TickColumn. Renders a checkbox cell driven by a TickColumnController.
  • 'computed' Used specifically by ComputedColumn. It doesn't have field parameter. The value to render is specified by the formatter argument.
  • 'group' Groups several columns. Used by GroupedColumn.

Presentation

type ColumnType =
  | "string"
  | "int"
  | "decimal"
  | "date"
  | "datetime"
  | "boolean"
  | "map"
  | "tick"
  | "computed"
  | "group";