Jquery

Creating a Jspreadsheet javascript instance using jQuery






Source code

<html>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

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

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

<input type="button" value="Add new row" onclick="$('#spreadsheet').jspreadsheet('insertRow')" />

<script>
var options = {
    minDimensions:[10,10],
    tableOverflow:true,
}

$('#spreadsheet').jspreadsheet(options); 
</script>
</html>