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,
height: 'auto',
rowHeaderWidth: 100,
licenseKey: 'non-commercial-and-evaluation',
rowHeaders: function(row){
if(row == 1){
return `ID 4334 | ${row + 1}`
} else {
return row + 1
}
}
});