Data Table
A full-featured data table with sorting, pagination, and selection.
Install
npx @vultra/cli add data-table Usage
<script>
import { DataTable } from '@vultra/ui';
</script>
<DataTable columns={columns} data={data} /> Props
columns- Column definitions arraydata- Row data arraysortable- Enable column sortingpagination- Enable paginationpageSize- Rows per pageselectable- Enable row selectionclass- Additional CSS classes
Features
- Column sorting
- Client-side pagination
- Row selection
- Custom cell renderers