Handsontable example

HTML

<div id="example1"></div>

CSS

</style>

<script src="https://cdn.jsdelivr.net/npm/handsontable@7.3.0/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@7.3.0/dist/handsontable.full.min.css">

JavaScript

var example = document.getElementById('example1');
  var hot = new Handsontable(example, {
    data: Handsontable.helper.createSpreadsheetData(10, 4),
    colWidths: 100,
    rowHeaders: true,
    colHeaders: true
  });

setTimeout(function(){
 hot.setDataAtCell(0,0, 'hey!')
}, 2000)