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/jexcel/v4/jexcel.js"></script>
<script src="https://bossanova.uk/jsuites/v3/jsuites.js"></script>
<link rel="stylesheet" href="https://bossanova.uk/jsuites/v3/jsuites.css" type="text/css" />
<link rel="stylesheet" href="https://bossanova.uk/jexcel/v4/jexcel.css" type="text/css" />

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

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