Data Table
A powerful table component with templated headers, rows, loading states, and empty states.
Installation
dotnet add package Lumeo.DataGrid
One-time app setup (AddLumeo(), CSS & JS) is covered in the
installation guide.
Usage
@using Lumeo <DataTable />
When to Use
- Displaying sortable and filterable datasets with column headers
- Row selection for bulk actions like delete, export, or status changes
- Paginated lists of records such as users, orders, or transactions
| Status | Amount | |
|---|---|---|
Success |
ken@example.com | $316.00 |
Success |
abe@example.com | $242.00 |
Pending |
monserrat@example.com | $837.00 |
Failed |
silas@example.com | $874.00 |
Success |
carmella@example.com | $721.00 |
| Status | Amount |
|---|
| Status | Amount | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No payments foundThere are no payments to display yet. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Alice Johnson | alice@example.com | Admin |
| Bob Smith | bob@example.com | User |
| Carol White | carol@example.com | Editor |
| Dave Brown | dave@example.com | User |
| Name | Role |
|---|
| Name | Role | ||
|---|---|---|---|
| Alice Johnson | alice@example.com | Admin | |
| Bob Smith | bob@example.com | User | |
| Carol White | carol@example.com | Editor | |
| Dave Brown | dave@example.com | User |
0 of 4 row(s) selected
API Reference
DataTable<TItem>
DataTableSortableHeader
Related Components
- Table — For simple static tables without sorting, selection, or loading states
- Pagination — For navigating between pages of data in a table