Skip to main content
<Tally> supports right-to-left layouts. Pinning, arrow keys, column resizing, scrolling, menus and the detail sheet follow the direction.

Setting the direction

Pass dir to <Tally>, or leave it out and the grid reads the computed direction of its root, which inherits from any ancestor such as <html dir="rtl">. The grid measures the direction again when its root resizes.
accounts.tsx

What follows the direction

The view stores left and right as inline start and end, so a saved view works in both directions.

Digits and formatting

Numbers and dates follow the grid’s format context, not the direction. Pass format to useGrid with a locale and a numberingSystem such as arab. Cells, counts, page ranges and row numbers then use those digits.
The filter bar parses ASCII digits only. Arabic-Indic digits typed there match as text. Cell editors accept both.
Default labels format their counts with the format context. Labels you override receive plain numbers. See Labels and localization.