Examples
Shift Range Controlled State
Selecting a row pins it in place. Here the selection is held in React state outside the table, and a Shift-click selects a whole range.
Try it
- Tick Anderson's checkbox. Anderson is selected and pinned.
- Hold Shift and tick Brooke's checkbox. Anderson to Brooke are all pinned.
- Untick Lily's checkbox. Lily is unpinned, the other three stay pinned.