StealThis .dev
Патерни Середня

Sortable Table

Sort plus column-resize table pattern with no selection or pagination complexity.

Відкрити в Lab
vanilla-js css
Цілі: JS HTML

Код

Sortable Table

A focused table interaction pattern for analytics views that need column sorting and resizing only.

Features

  • Click header to sort ascending and descending
  • Drag handle to resize columns
  • Numeric and text sorting
  • Minimal state model

Notes

This intentionally omits selection, bulk actions, and pagination from data-table.