NERV-UI DOCS
inspection terminal
live
doc.access // online
NERV COMPONENT INSPECTION
route integrity monitored

Data Grid

Surveillance-style data table with sticky header, auto-scroll capability, sortable columns with type auto-detection, automatic pagination, and motion-animated row entry.

[SRC]tsx
1import { DataGrid } from "@mdrbx/nerv-ui";

Basic Usage

DEFAULTinspection frame
live inspectionframe-01
UNIT REGISTRY4 ENTRIES
UNITPILOTSTATUSSYNC %
EVA-00AYANAMI REIACTIVE68.2
EVA-01IKARI SHINJISTANDBY41.5
EVA-02SORYU ASUKAACTIVE92.1
EVA-03SUZUHARA TOJIOFFLINE0.0
ROWS: 4

Sortable Columns

SORTABLEinspection frame
live inspectionframe-01
SORTABLE REGISTRY5 ENTRIES
UNITPILOTSYNC %STATUS
EVA-00AYANAMI REI68.2ACTIVE
EVA-01IKARI SHINJI41.5STANDBY
EVA-02SORYU ASUKA92.1ACTIVE
EVA-03SUZUHARA TOJI0.0OFFLINE
EVA-04NAGISA KAWORU99.9CLASSIFIED
ROWS: 5

Paginated

PAGINATEDinspection frame
live inspectionframe-01
EVENT LOG7 ENTRIES
#TIMESTAMPEVENTLEVEL
00114:32:01.221PATTERN BLUE DETECTEDCRITICAL
00214:32:01.445A.T. FIELD ANALYSIS BEGININFO
00314:32:02.102MAGI CONSENSUS REQUESTEDINFO
ROWS: 7
PAGE 01/03

Props

PropTypeDefaultDescription
columns*DataGridColumn[]Column definitions: { key, header, width?, align?, sortable?, type? }
data*Record<string, string | number>[]Row data array
color"orange" | "green" | "cyan""green"Table color theme
autoScrollbooleanfalseEnable continuous scroll (pauses on hover)
scrollSpeednumber30Scroll speed in pixels/second
maxHeightstring"400px"Container max height
titlestringTitle bar text
showIndexbooleanfalseShow row index column
pageSizenumberRows per page — undefined shows all rows
classNamestring""Additional CSS classes
[i]COLUMN SORTING

Set sortable: true on columns to enable click-to-sort. Type auto-detection checks the first value: integers, floats, datetimes, or string fallback. Override with type: "int" | "float" | "datetime" | "string". Click cycles: unsorted → ascending → descending → unsorted.