Data Table
Filter, sort, select and paginate project budgets.
Actions | ||||
|---|---|---|---|---|
Atlas | Active | $12.00 | ||
Boreal | Pending | $110.00 | ||
Cedar | Active | $3.00 | ||
Dune | Pending | $47.00 | ||
Ember | Active | $90.00 |
0 of 8 row(s) selected.
Rows per page
Page 1 of 2
Installation
Install the shared package once in your Exact app. This version is a beta.
bun add --exact @rightui/ui@0.4.0-beta.4
The Exact compiler requires Bun 1.4.2, regardless of which package manager installs the package.
Complete the font, app metadata and root provider setup (required for both installation methods).
Import
use DataTable, GridColumn, GridRow, DataGrid from "@rightui/ui"
Usage
Import DataTable, GridColumn from @rightui/ui. Store its value in state and update it through the provided action callback.
API Reference
Properties from the component source. State lives in your component; actions receive the updated value.
DataGrid.id
string
DataGrid.label
string
DataGrid.columns
GridColumn[]
DataGrid.rows
GridRow[]
DataGrid.initialPageSize
number
DataGrid.reduced
bool
DataGrid.selectionChanged
action
DataGrid.openRow
action
DataTable.id
string
DataTable.rows
DataRow[]
DataTable.pageSize
number