WarUI

Rating column type

GRID-A07-F11P3beyond-baselinePlanned

`type: 'rating'` displays a numeric score as stars or another icon set, with half or fractional precision. When the column is editable, users can set a rating by click or keyboard.

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

Live example

A vendors grid with a rating column (max 5, precision 0.5) in read-only mode.

Expected behavior

Fractional values render partially filled icons. In edit mode, the left and right arrows change the value by the precision step, and Home and End set the minimum and maximum.

Planned API surface

type'rating'maxprecisioniconeditableonCellValueChange

Acceptance criteria

  • Values are clamped to [0,max] for display. Values out of range trigger a dev warning. (pending)
  • Editing produces values aligned to the precision step. (pending)
  • Hover preview never commits a value. Only a click or Enter commits. (pending)