Type: Action

Customers

12

Manage your customer accounts and details.

Company License UseStatus About
C
Catalog
Enterprise ActiveDesign platform for teams
C
Circooles
Business ActiveCollaboration suite
C
Command+R
Business ChurnedAI assistant platform
H
Hourglass
Enterprise ActiveTime tracking solution
L
Layers
Free PendingDesign system toolkit

Type: Menu

Team Members

12
Company License UseStatus About
C
Catalog
Enterprise ActiveDesign platform for teams
C
Circooles
Business ActiveCollaboration suite
C
Command+R
Business ChurnedAI assistant platform
H
Hourglass
Enterprise ActiveTime tracking solution
L
Layers
Free PendingDesign system toolkit

Usage examples

Copy-paste-ready snippets for common DataTable patterns.

Minimal action table

Columns + items, text link row actions

razor
<DataTable TItem="Customer" Items="@customers" Columns="@columns" Type="Action" Title="Customers" Subtitle="Manage customer accounts." RowActions="@rowActions" OnRowAction="@HandleRowAction" PageSize="5" /> @code { private List<DataTable<Customer>.Column> columns = new() { new() { Key = "name", Title = "Name", Sortable = true, Property = c => c.Name }, new() { Key = "status", Title = "Status", Property = c => c.Status }, }; private List<DataTable<Customer>.RowActionItem> rowActions = new() { new() { Key = "edit", Label = "Edit" }, new() { Key = "delete", Label = "Delete", Destructive = true }, }; }

Menu table with selection

Checkboxes + row dropdown menu + paging

razor
<DataTable TItem="Customer" Items="@customers" Columns="@columns" Type="Menu" ShowCheckbox="true" @bind-SelectedItems="selected" RowMenuItems="@rowMenuItems" OnRowMenuAction="@HandleRowMenu" PageSize="10" /> @code { private List<Customer> selected = new(); private List<DataTable<Customer>.DropdownItem> rowMenuItems = new() { new() { Key = "view", Label = "View Details" }, new() { Key = "edit", Label = "Edit" }, new() { Key = "delete", Label = "Delete" }, }; }

Custom cell template

Render avatars, badges, or custom markup per cell

razor
<DataTable TItem="Customer" Items="@customers" Columns="@columns"> <CellTemplate Context="cell"> @switch (cell.ColumnKey) { case "company": <div class="avatar-cell"> <Avatar Size="xs" Initials="@cell.Item.Name[0].ToString()" /> <div class="avatar-cell-info"> <span class="avatar-cell-name">@cell.Item.Name</span> <span class="avatar-cell-email">@cell.Item.Domain</span> </div> </div> break; case "status": <Badge Color="success" Text="@cell.Item.Status" /> break; default: @cell.DefaultValue break; } </CellTemplate> </DataTable>
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.