Handsontable example
HTML
<div id="example1"></div>
CSS
</style><!-- Ugly Hack due to jsFiddle issue -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/handsontable.full.min.css">
<script src="https://handsontable.com/docs/7.4.2/components/numbro/dist/languages.min.js"></script>
JavaScript
let a = 0;
let container = document.getElementById('example1'),
hot = new Handsontable(container, {
data: [
[6456],[636],[73556],[635],[6254],[725]
],
colHeaders: true,
columns: [
{
type: 'numeric'
}
],
afterRenderer: () => {a++; console.log(`afterRenderer ${a}`)}
});
//no method renders 6 times
//hot.validateRows([2]); //renders 7 times
//hot.validateCells(); //renders 12 times