Components
DataTable
Advanced data table with virtual scrolling, multi-column sorting, filtering, and cell-level navigation
Demo
Click the terminal below. Use arrow keys to navigate cells, s to sort, / to filter.
Features
- Cell-based cursor with row and column navigation and active cell highlighting
- Virtual scrolling rendering only visible rows with a scrollbar indicator
- Multi-column sorting with primary (
s) and secondary (S) sort support, cycling none/asc/desc - Numeric-aware sorting that correctly orders number columns like CPU% and Memory
- Text filtering with live search across all columns and match count display
- Row selection with multi-select, select all, and clear controls
- Status coloring with conditional cell colors (running=green, stopped=red, pending=yellow)
- Zebra striping with alternating row background shading
- Sort indicators showing
▲(asc),▼(desc), or·(unsorted) per column
Keybindings
↑/↓move cursor row←/→move cursor columnpage up/page downjump 10 rowsggo to first row,Ggo to last rowstoggle sort on current column (cycles: none → asc → desc → none)Sadd/toggle secondary sort on current columnspacetoggle row selectionaselect all visible rowsxclear all selections/enter filter mode, type to filter across all columnsescexit filter mode (keeps filter)ctrl+xclear filter and exit filter mode