React playground

Nova v3.37.0

Preview

React

Datatable examples

A sorted table with formatted values and status badges, row actions that update application data, and a filtered, paged list with an empty message.

← nv-datatable

Datatable

Five substations sorted by load, highest first. The load column formats its value as "MW", and the status column renders a badge. Select any header to change the sort.

Default

Row actions

A custom cell shows Assign to me for unassigned work orders. The table only renders the button; the application updates the row and the status line.

Actions

Filter and pages

The application filters the meters by site and passes the result to the table, which pages it ten at a time with its built-in pager (10, 25, 50 or 100 rows). The table keeps a minimum width, so on narrow screens it scrolls sideways instead of squeezing the pager. When nothing matches, the table shows its empty message.

Paging