Freeze columns

Define the number of freeze columns by using the freezeColumn directive with tableOverflow as follow



Source code

<html>
<script src="https://bossanova.uk/jspreadsheet/v4/jexcel.js"></script>
<script src="https://jsuites.net/v4/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v4/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://bossanova.uk/jspreadsheet/v4/jexcel.css" type="text/css" />

<div id="spreadsheet"></div>

<script>
jspreadsheet(document.getElementById('spreadsheet'), {
    data: null,
    minDimensions: [20,50000],
    tableOverflow: true,
    lazyLoading: true,
    tableWidth: '600px',
    freezeColumns: 2
});
</script>
</html>