5.2.0 • Published 11 days ago

@neolution-ch/react-data-table v5.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 days ago

react-data-table

This package relies heavly on tanstack/react-table and reactstrap to provide a simple and easy to use data table.

Installation

npm install @neolution-ch/react-data-table
or
yarn add @neolution-ch/react-data-table

CSS

The skeletons are provided by react-loading-skeleton so you need to import the css file in your project.

import "react-loading-skeleton/dist/skeleton.css";

Peer dependencies

todo

Usage

The main entry point for everything is the ReactDataTable component.

The props that you provide will determine if the table is sorted, filtered, paginated, etc. on the client or if the consumer of this package has to provide the data and the functions to update the data.

Fully Static / Client Side Example

In this configuration the table is fully static meaning that the data will be sorted, filtered, paginated, etc. on the client.

<ReactDataTable<Person, string> data={data} columns={columns} />

Fully Dynamic / Server Side Example

In this configuration the table is fully dynamic meaning that the consumer of this package has to provide the data and the functions to update the data.

use caseonSortingsorting
you want to manually sort your data (possible server side) but you don't want to manage the state yourselfyesno
you want the data table to handle the sorting but would like to influence the sorting from the outsidenoyes
you want to manually sort your data AND you want to mange the state yourselfyesyes
you want the data table to handle the sorting and you don't want to manually influence the statenono

Documentation

Detailed documentation can be found at ReactDataTable Wiki

5.2.0

11 days ago

5.2.0-beta.0

11 days ago

5.1.0

1 month ago

5.0.2-beta.1

1 month ago

5.0.2-beta.0

1 month ago

5.0.1

2 months ago

5.0.0

2 months ago

4.2.0

2 months ago

4.1.0

2 months ago

4.0.0

2 months ago

4.0.0-beta.4

2 months ago

4.0.0-beta.3

3 months ago

4.0.0-beta.2

3 months ago

4.0.0-beta.1

3 months ago

4.0.0-beta.0

3 months ago

4.0.0-alpha.0

5 months ago

2.7.2

11 months ago

3.4.0

7 months ago

3.3.0

9 months ago

3.2.0

9 months ago

3.1.0

9 months ago

3.8.0

6 months ago

3.7.0

6 months ago

3.6.0

7 months ago

3.5.0

7 months ago

2.7.3

11 months ago

3.0.0

10 months ago

2.5.0

12 months ago

2.4.0

12 months ago

2.7.0

11 months ago

2.6.1

11 months ago

2.6.0

11 months ago

2.7.1

11 months ago

2.3.0

1 year ago

2.3.2

1 year ago

2.3.1

1 year ago

2.2.0

1 year ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.9

2 years ago