Table
CrudTable
Extends XATable with full Create/Read/Update/Delete operations.
Table
Production-ready data table components with CRUD operations, server-side pagination, filtering, and export.
Components
<XACrudTable />
Extends XATable with full Create/Read/Update/Delete operations.
<XACrudTable
endpoint="/api/products"
:columns="columns"
:schema="productSchema"
title="Products"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
endpoint | string | required | API endpoint for data fetching and mutations |
columns | Column[] | [] | Column definitions |
schema | object | required | Form schema for create/edit modal |
title | string | '' | Table heading |
AI Context
component: XACrudTable
package: "@xenterprises/nuxt-x-app"
category: Table
use-when: >
Displaying and managing lists of resources with inline create, edit, and
delete operations. Use instead of XATable when the table needs full CRUD.
primary-component: true
data-fetching: connects to REST API via endpoint prop
pagination: server-side, automatic
