WarUI

Bidirectional text isolation in cells

GRID-A24-F17P1beyond-baselinePlanned

Each cell's content is wrapped in its own bidi isolate with dir 'auto' or a per-column fixed direction. Mixed Hebrew, Arabic and Latin text, phone numbers, SKUs and URLs then display correctly and do not reorder neighbouring punctuation. Some data, such as codes, can be forced to LTR even inside an RTL grid.

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

Live example

An RTL grid with mixed-script names, phone numbers, SKUs, emails and parenthesized notes.

Expected behavior

With isolation on, every value displays coherently. With isolation off, the demo shows the punctuation and number reordering problems that isolation prevents.

Planned API surface

column.textDirection: 'auto'|'ltr'|'rtl'|'inherit'bidiIsolationcellRenderer dir hint

Acceptance criteria

  • Cells render with unicode-bidi: isolate or a bdi element. (pending)
  • Columns with fixed direction apply that direction to editors as well. (pending)
  • Text alignment follows the cell's resolved direction unless it is overridden. (pending)
  • Truncation ellipsis appears on the correct end. (pending)