sd
svelte-datatable
npm i svelte-datatable
sd

svelte-datatable

DataTable for Svelte with Materialize

by Kiho Chang

2.0.1 (see all)License:MITTypeScript:Not Found
npm i svelte-datatable
Readme

svelte datatable

This project was created by the Svelte REPL.

Data Table component was converted to Svelte from MicroDroid/vue-materialize-datatable project.

Paginate component was converted to Svelte from https://github.com/lokyoung/vuejs-paginate project.

See demo here at Heroku(slow)

Features

  • Sorting, with numerical sorting
  • Pagination - Client & Server Side
  • Fuzzy searching
  • Excel export
  • Printing
  • Custom topbar buttons
  • Flexible data-from-row extractor
  • Follows the Material Design spec
  • Limited support for IE 11(need Object.assign polyfill)

Requirements

Get started

You will need to have Node.js installed.

Install the dependencies...

cd /path/to/this/directory
npm install

...then start Rollup:

npm run dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Deploying to the web

With now

Install now if you haven't already:

npm install -g now

Then, from within your project folder:

now

As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public

Downloads/wk

4

GitHub Stars

97

LAST COMMIT

6mos ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
2.0.1
latest
3yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate