@ramon-meffert/svelte-datagrid
v1.0.1
Published
> **Warning** > This library is a work-in-progress. The API is not finalized, and the > documentation is far from complete.
Downloads
2
Readme
Svelte Datagrid
Warning
This library is a work-in-progress. The API is not finalized, and the documentation is far from complete.
An experimental type-safe datagrid library aiming to improve developer experience over existing libraries while maintaining great performance and customisability.
Getting started
Note
Full documentation is available on https://svelte-datagrid.pages.dev/docs.
A basic table looks like this:
<DataGrid type={Book} source={books} let:data>
<Column {data} header="Title" value={b => b.title} />
<Column {data} header="Author" value={b => b.author} />
<Column {data} header="Price" value={b => b.price} />
<ListPaginator slot="paginator" />
</DataGrid>
Developing
git clone https://github.com/RamonMeffert/svelte-datagrid.git
cd svelte-datagrid
bun install
bun run dev