Skip to content

PinnedPosition

Column pin position.

Physical values (always pin to specified side):

  • 'left' - Pin to left edge
  • 'right' - Pin to right edge

Logical values (flip based on text direction for RTL support):

  • 'start' - Pin to inline-start (left in LTR, right in RTL)
  • 'end' - Pin to inline-end (right in LTR, left in RTL)

Use logical values (start/end) for grids that need to work in both LTR and RTL layouts with the same configuration.

type PinnedPosition = "left" | "right" | "start" | "end"
// Physical - always pins to left side regardless of direction
{ field: 'id', pinned: 'left' }
// Logical - pins to visual start (left in LTR, right in RTL)
{ field: 'id', pinned: 'start' }
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt