πŸš€ DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more β†’
Socket
Book a DemoInstallSign in
Socket

@handsontable/react-wrapper

Package Overview
Dependencies
Maintainers
5
Versions
419
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@handsontable/react-wrapper

Best Data Grid for React with Spreadsheet Look and Feel.

Source
npmnpm
Version
15.0.0-next-fdd4480-20241205
Version published
Weekly downloads
12K
-12.3%
Maintainers
5
Weekly downloads
Β 
Created
Source

Handsontable - data grid for React

React Data Grid

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

Handsontable data grid for React

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

1. Install Handsontable

Get Handsontable from npm or Yarn.

npm install handsontable @handsontable/react-wrapper

Import Handsontable's CSS:

import 'handsontable/dist/handsontable.full.min.css';

2. Register Handsontable's modules

import { registerAllModules } from 'handsontable/registry';

registerAllModules();

3. Use the HotTable component

The main Handsontable component is called HotTable.

import { HotTable } from '@handsontable/react-wrapper';

To set Handsontable's configuration options, use HotTable's props. For example:

import { HotTable } from '@handsontable/react-wrapper';
import { registerAllModules } from 'handsontable/registry';
import 'handsontable/dist/handsontable.full.min.css';

registerAllModules();

const ExampleComponent = () => {

  return (
      <HotTable
        // set `HotTable`'s props here
        data={[
          ['', 'Tesla', 'Volvo', 'Toyota', 'Ford'],
          ['2019', 10, 11, 12, 13],
          ['2020', 20, 11, 14, 13],
          ['2021', 30, 15, 12, 13]
        ]}
        rowHeaders={true}
        colHeaders={true}
        height="auto"
        licenseKey="non-commercial-and-evaluation" // for non-commercial use only
      />
  );
};

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.

Keywords

handsontable

FAQs

Package last updated on 05 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts