react-tabulator
TypeScript icon, indicating that this package has built-in type declarations

0.21.0 • Public • Published

react-tabulator

React Tabulator is based on Tabulator - a JS table library with many advanced features. Link.

🌟 Features

Tabulator's features:

  Filters      Sorting      Formatting    Grouping      Ajax      Editing    Virtualization
  Pagination   Themes       A11y          I18n          Layouts   Frozen Cols/Rows
  Key Binding  Responsive   Persisting    History       Calc      Validation
  Clipboard    Tree Layout  Nested Tables

Plus more features:

  • React.
  • Simple syntax; Import css, themes.
  • Typescript, Tslint.
  • Jest-puppeteer for testing.
  • React Cell Editors: DateEditor, MultiSelectEditor, etc.
  • React Cell Formatters: MultiValueFormatter, etc.
  • React Filters (TBD).
  • For the legacy React 15.x, use: import React15Tabulator.

📦 Usage

$ npm install react-tabulator --save

import 'react-tabulator/lib/styles.css'; // required styles
import 'react-tabulator/lib/css/tabulator.min.css'; // theme
import { ReactTabulator } from 'react-tabulator';

    <ReactTabulator columns={columns} data={data} options={} events={{ rowClick: rowClickHandler }} />

* "options" will be passed directly to Tabulator's options.
* "events" is an object like { eventName: handlerFunction }
* use "ref.table" to access to all tabulator functions.

🔧 Development - Commands

Require: NodeJS

$ npm install --legacy-peer-deps        install dependencies for development.
$ export NODE_OPTIONS=--openssl-legacy-provider     to work with Node 18+
$ export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true     to work with ARM if you haven't chromium installed
$ npm run dev      Launch DEV mode (with hot reload).
$ npm run build    Make a build.

$ npm run test     Run tests using jest-puppeteer (with headless Chrome).

📖 Documentation

🙌 Thanks

All contributions are welcome!

While you're here, also check out

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.21.01,245latest

Version History

VersionDownloads (Last 7 Days)Published
0.21.01,245
0.20.380
0.20.22
0.20.12
0.20.03
0.19.03,007
0.18.11,100
0.18.05
0.17.220
0.17.12
0.17.02
0.16.92
0.16.82
0.16.66
0.16.562
0.16.13
0.16.02
0.15.0414
0.14.8125
0.14.76
0.14.54
0.14.488
0.14.212
0.14.152
0.14.031
0.13.847
0.13.72
0.13.52
0.13.22
0.13.12
0.13.03
0.12.73
0.12.62
0.12.52
0.12.23
0.12.12
0.12.012
0.11.711
0.11.52
0.11.02
0.10.3545
0.10.23
0.10.12
0.10.03
0.9.632
0.9.52
0.9.147
0.9.02
0.8.42
0.8.32
0.8.22
0.8.12
0.7.112
0.7.102
0.7.94
0.7.82
0.7.72
0.7.62
0.7.52
0.7.42
0.7.32
0.7.22
0.7.12
0.7.02
0.6.112
0.6.102
0.6.62
0.6.56
0.6.22
0.6.12
0.6.04
0.5.102
0.5.92
0.5.82
0.5.62
0.5.52
0.5.02
0.4.92
0.4.72
0.4.52
0.4.12
0.4.02
0.3.42
0.3.32
0.3.12
0.3.02
0.2.02
0.1.02
0.0.12

Package Sidebar

Install

npm i react-tabulator

Weekly Downloads

7,100

Version

0.21.0

License

MIT

Unpacked Size

4.51 MB

Total Files

144

Last publish

Collaborators

  • ngduc