JSFiddle - React, Tailwind, and code Playground

by handsoncode

HTML

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.css">
<script src="https://cdn.jsdelivr.net/npm/handsontable/dist/handsontable.full.min.js"></script>
<div id="parentContainer">
  <div id="example1" class="hot"></div>
</div>

CSS

body {
  background-color: #fff;
  margin: 0;
  padding: 0;
}

JavaScript

var example1 = document.getElementById('example1');

var hot = new Handsontable(example1, {
  data: Handsontable.helper.createSpreadsheetData(50, 50),
  colHeaders: true,
  rowHeaders: true,
  width: 700,
  height: 300,
  licenseKey: 'non-commercial-and-evaluation'
});