14.6.1 • Published 2 months ago

@handsontable/react v14.6.1

Weekly downloads
18,660
License
SEE LICENSE IN LI...
Repository
github
Last release
2 months ago

Data Grid for React

Handsontable's wrapper for React combines data grid features with spreadsheet-like UX. It provides data binding, data validation, filtering, sorting, and CRUD operations.

npm npm CI status FOSSA Status Quality Gate Status


Features

The most popular features of Handsontable for React:

    Multiple column sorting     Non-contiguous selection     Filtering data     Export to file     Validating data     Conditional formatting     Merging cells     Freezing rows/columns     Moving rows/columns     Resizing rows/columns     Hiding rows/columns     Context menu     Comments

Documentation

Get Started

Install with npm

Run the following command in your terminal

npm install handsontable @handsontable/react

You can load it directly from jsDelivr as well.

<script src="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@handsontable/react/dist/react-handsontable.min.js"></script>

<link href="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.css" rel="stylesheet">

The component will be available as Handsontable.react.HotTable.

Usage

Use this data grid as you would any other component in your application. Options can be set as HotTable props.

Styles

@import '~handsontable/dist/handsontable.full.css';

React Component

import React from 'react';
import ReactDOM from 'react-dom';
import { HotTable } from '@handsontable/react';

class HotApp extends React.Component {
  constructor(props) {
    super(props);
    this.data = [
      ['', 'Tesla', 'Mercedes', 'Toyota', 'Volvo'],
      ['2019', 10, 11, 12, 13],
      ['2020', 20, 11, 14, 13],
      ['2021', 30, 15, 12, 13]
    ];
  }

  render() {
    return (<HotTable data={this.data} colHeaders={true} rowHeaders={true} width="600" height="300" />);
  }
}

View live demo

Support

We provide support for developers working with commercial version via contact form or at support@handsontable.com.

If you use a non-commercial version then please ask your tagged question on StackOverflow.

License

Handsontable is a commercial software with two licenses available:

  • Free for non-commercial purposes such as teaching, academic research, and evaluation. Read it here.
  • Commercial license with support and maintenance included. See pricing plans.

License key

If you use Handsontable for React in a project that supports your commercial activity, then you must purchase the license key at handsontable.com.

If you use the free for non-commercial license of Handsontable, then pass the phrase 'non-commercial-and-evaluation', as described in this documentation.

Proudly created and maintained by the Handsontable Team.

14.6.1

2 months ago

14.6.0

3 months ago

14.5.0

5 months ago

14.4.0

6 months ago

14.3.0

8 months ago

14.2.0

10 months ago

14.1.0

11 months ago

13.1.0

1 year ago

14.0.0

1 year ago

12.4.0

2 years ago

13.0.0

2 years ago

12.3.2

2 years ago

12.3.3

2 years ago

12.3.1

2 years ago

12.3.0

2 years ago

12.2.0

2 years ago

12.1.3

2 years ago

12.1.2

2 years ago

12.1.0

2 years ago

12.1.1

2 years ago

12.0.1

3 years ago

12.0.0

3 years ago

11.1.0

3 years ago

11.0.0

3 years ago

11.0.1

3 years ago

10.0.0

3 years ago

9.0.2

3 years ago

9.0.1

4 years ago

9.0.0

4 years ago

8.4.0

4 years ago

5.0.0

4 years ago

4.0.0

4 years ago

3.1.3

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.0

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago