WarUI

Series detection

GRID-A12-F16P0baselinePlanned

When the user drags the fill handle, the grid detects patterns in the source cells and continues them. Supported patterns are linear numbers, dates by day/week/month, weekday and month names, and text with a numeric suffix. Detection works on typed values, not on display text.

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

Live example

Sample columns preloaded with numbers, dates, weekdays, "Item 1" and quarter labels.

Expected behavior

Each sample continues its own pattern. A preview tooltip shows the value that will be filled into the last cell.

Planned API surface

fillHandle.seriesDetectionfillHandle.detectorsfill:seriesDetected

Acceptance criteria

  • [5,10] filled gives 15,20,25 (pending)
  • Monthly dates that start on the 31st clamp to the last day of shorter months and do not drift (pending)
  • Weekday names follow the locale and keep the source casing (pending)
  • "Item 9" filled gives "Item 10" (pending)
  • A single numeric cell copies rather than increments, unless Ctrl is held (see GRID-A12-F17) (pending)