Lazy loading

The following table is dealing with 2 million+ cells. The lazyloading method allows render up to 80 rows at the same time and will render other rows based on the scrolling.



Source code

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

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

<script>
mySpreadsheet = jexcel(document.getElementById('spreadsheet'), {
    csv:'/jexcel/data.csv',
    csvHeaders:false,
    tableOverflow:true,
    lazyLoading:true,
    loadingSpin:true,
    columns: [
        { type:'text', width:200, title:'Name' },
        { type:'text', width:300, title:'Tags' },
        { type:'text', width:90, title:'Score' },
        { type:'text', width:100, title:'Rating' },
    ]
});

document.getElementById('download').onclick = function () {
    mySpreadsheet.download();
}
<script>

</script>
</html>