Created
February 19, 2021 14:21
-
-
Save karlosmid/cfbef610f0fb990c0b4a2c671b7343fc to your computer and use it in GitHub Desktop.
Forbid adding columns to jExcel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<script src="https://bossanova.uk/jspreadsheet/v3/jexcel.js"></script> | |
<link rel="stylesheet" href="https://bossanova.uk/jspreadsheet/v3/jexcel.css" type="text/css" /> | |
<script src="https://jsuites.net/v3/jsuites.js"></script> | |
<link rel="stylesheet" href="https://jsuites.net/v3/jsuites.css" type="text/css" /> | |
<div id='my-spreadsheet'></div> | |
<script> | |
data = [ | |
['Mazda', 2001, 2000], | |
['Pegeout', 2010, 5000], | |
['Honda Fit', 2009, 3000], | |
['Honda CRV', 2010, 6000], | |
]; | |
jexcel(document.getElementById('my-spreadsheet'), { | |
data:data, | |
columns:[ | |
{ title:'Model', width:300 }, | |
{ title:'Price', width:80 }, | |
{ title:'Model', width:100 } | |
], | |
allowInsertColumn: false | |
}); | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment