WarUI

Pin by Dragging and Pinned Overflow Guard

GRID-A08-F11P2beyond-baselinePlanned

Users can pin a column by dragging its header into a pinned region. The grid also stops pinned regions from consuming the whole viewport. This makes pinning direct to use while keeping the centre region usable.

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

Live example

20 columns with one column pinned left. A narrow container makes overflow easy to trigger.

Expected behavior

Dragging a header onto a pinned region's drop zone pins the column at the drop position, and dragging it out unpins it. If the pinned width would exceed the ratio, the most recently pinned columns are unpinned. A pinnedOverflow event fires and a dismissible notice appears.

Planned API surface

gridOptions.allowDragToPingridOptions.maxPinnedWidthRatioevent:columnPinnedevent:pinnedOverflow

Acceptance criteria

  • Dropping a column into a pinned region sets its pinned side and position. (pending)
  • Total pinned width never exceeds the ratio multiplied by the viewport width after layout. (pending)
  • The pinnedOverflow event lists the columns that were unpinned. (pending)
  • The notice text is localizable and dismissible. (pending)