JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://docs.handsontable.com//bower_components/handsontable/dist/handsontable.full.min.js"></script>
<link rel="stylesheet" href="https://docs.handsontable.com//bower_components/handsontable/dist/handsontable.full.min.css">
<div id="parentContainer" style = "width:50%;height:50%;overflow:hidden">
<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,
stretchH: "all"
});