WarUI

Built-in text column type

GRID-A07-F03P0baselinePlanned

`type: 'text'` is the default column type. It renders string values as escaped text, with options for truncation, wrapping and whitespace handling. It also sets the defaults for text filtering, sorting with locale collation and a text editor.

Planned. This page shows the specification from issue #184. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Tickets grid with a subject column of type text and textOverflow 'ellipsis'.

Expected behavior

Ellipsis truncates long subjects. Enabling wrapText with autoRowHeight grows rows to fit their content. Empty values show the placeholder. Sorting follows the selected locale's collation, for example ä sorts differently in sv and de.

Planned API surface

type'text'textOverflowwrapTextautoRowHeightcollatoremptyPlaceholder

Acceptance criteria

  • Text values are rendered via textContent, never innerHTML. (pending)
  • Ellipsis truncation exposes the full value through the title attribute or the tooltip system when the text overflows. (pending)
  • emptyPlaceholder renders for null, undefined and empty string, and is styled as muted. (pending)
  • Sorting uses Intl.Collator with the configured locale. (pending)