Handsontable example

HTML

<script src="https://cdn.jsdelivr.net/npm/handsontable@15.1/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@15.1/styles/handsontable.min.css" /> 
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@15.1/styles/ht-theme-main.css" /> 
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@15.1/styles/ht-theme-horizon.css" /> 
<script src="https://cdn.jsdelivr.net/npm/react@18/umd/react.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@handsontable/react-wrapper@15.1/dist/react-handsontable.min.js"></script>
<script src="https://handsontable.com/docs/scripts/fixer.js"></script>

<div id="example1" class="hot ht-theme-main " ></div>

Babel + JSX

import { HotTable, HotColumn } from '@handsontable/react-wrapper';
import { registerAllModules } from 'handsontable/registry';
import 'handsontable/styles/handsontable.css';
import 'handsontable/styles/ht-theme-main.css';
import { useRef } from 'react';

// register Handsontable's modules
registerAllModules();

export const data = [
  [
    false,
    "Tagcat",
    "United Kingdom",
    "Classic Vest",
    "11/10/2020",
    "01-2331942",
    true,
    "172",
    2,
    2
  ],
  [
    true,
    "Zoomzone",
    "Indonesia",
    "Cycling Cap",
    "03/05/2020",
    "88-2768633",
    true,
    "188",
    6,
    2
  ],
  [
    true,
    "Meeveo",
    "United States",
    "Full-Finger Gloves",
    "27/03/2020",
    "51-6775945",
    true,
    "162",
    1,
    3
  ],
  [
    false,
    "Buzzdog",
    "Philippines",
    "HL Mountain Frame",
    "29/08/2020",
    "44-4028109",
    true,
    "133",
    7,
    1
  ],
  [
    true,
    "Katz",
    "India",
    "Half-Finger Gloves",
    "02/10/2020",
    "08-2758492",
    true,
    "87",
    1,
    3
  ],
  [
    false,
    "Jaxbean",
    "China",
    "HL Road Frame",
    "28/09/2020",
    "84-3557705",
    false,
    "26",
    8,
    1
  ],
  [
    false,
    "Wikido",
    "Brazil",
    "HL Touring Frame",
    "24/06/2020",
    "20-9397637",
    false,
    "110",
    4,
    1
  ],
  [
    false,
    "Browsedrive",
    "United States",
    "LL Mountain Frame",
    "13/03/2020",
    "36-0079556",
    true,
    "50",
    4,
    4
  ],
  [
    false,
    "Twinder",
    "United Kingdom",
    "LL Road Frame",
    "06/04/2020",
    "41-1489542",
    false,
    "160",
    6,
    1
  ],
  [
    false,
    "Jetwire",
    "China",
    "LL Touring Frame",
    "01/02/2020",
    "37-1531629",
    true,
    "30",
    8,
    5
  ],
  [
    false,
    "Chatterpoint",
    "China",
    "Long-Sleeve Logo Jersey",
    "14/07/2020",
    "25-5083429",
    true,
    "39",
    7,
    2
  ],
  [
    false,
    "Twinder",
    "Egypt",
    "Men's...