Proyectos
Ver en GitHub
vincjo/datatables
Acerca de
Kit de herramientas para crear componentes de tablas de datos con Svelte.
Desarrollo web y de aplicacionesCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
svelte simple datatables
A powerful toolkit for building datatable components.
Docs
Streamline your data workflow with a robust API providing advanced features while reducing code complexity.
:globe_with_meridians: vincjo.fr/datatables
Install
npm i -D @vincjo/datatables
Smooth transition from v1 to v2
In order to make the migration process a little easier, v1 is embed in “legacy” namespace so you will have the opportunity to upgrade your components progressively by simply modifying imports.
- @vincjo/datatables
+ @vincjo/datatables/legacy
- @vincjo/datatables/remote
+ @vincjo/datatables/legacy/remote
Sample code
<script lang="ts">
import { TableHandler } from '@vincjo/datatables'
import { someData } from './data'
const table = new TableHandler(someData, { rowsPerPage: 50 })
</script>
<table>
<thead>
<tr>
<th>First name</th>
<th>Last name</th>
</tr>
</thead>
<tbody>
{#each table.rows as row}
<tr>
<td>{row.first_name}</td>
<td>{row.last_name}</td>
</tr>
{/each}
</tbody>
</table>
Explorar proyectos relacionados
Cargando…