Handsontable example

HTML

<script src="https://cdn.jsdelivr.net/npm/handsontable@11.1/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handsontable@11.1/dist/handsontable.full.min.css" /> 
<script src="https://handsontable.com/docs/8.3.2/components/numbro/dist/languages.min.js"></script>

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

JavaScript

const container = document.querySelector('#example1');

const hot = new Handsontable(container, {
  data: Handsontable.helper.createSpreadsheetData(100, 3),
  colHeaders: true,
  rowHeaderWidth: 150,
  licenseKey: 'non-commercial-and-evaluation',
  rowHeaders: true,
  afterGetRowHeader: function(row, TH) {

    if (row == 0) {
      TH.innerHTML = 'sadsad'
    }
    if (row == 3) {
      var s = document.createElement("span");
      s.innerText = "im here";
      console.log(JSON.stringify(s.innerText), s)
      
      TH.innerHTML = `${JSON.stringify(s.innerText)}`;
    } else {
      TH.innerHTML = `<span><strong>${row + 1}</strong></span>`
    }
    //console.log(this.getRowHeader(3))
  }
});