Handsontable example
HTML
<div>
<div id="example1" class="hot handsontable htRowHeaders htColumnHeaders"></div>
</div>
CSS
</style><!-- Ugly Hack due to jsFiddle issue -->
<script src="https://docs.handsontable.com/pro/1.4.0/bower_components/handsontable-pro/dist/handsontable.full.min.js"></script>
<link type="text/css" rel="stylesheet" href="https://docs.handsontable.com/pro/1.4.0/bower_components/handsontable-pro/dist/handsontable.full.min.css">
JavaScript
document.addEventListener("DOMContentLoaded", function() {
var dataObj = [
['a'], ['b'], ['c'], ['d'], ['e'], ['f']
];
var example1 = document.getElementById('example1');
var hot = new Handsontable(example1, {
data: dataObj,
colHeaders: true,
rowHeaders: true,
dropdownMenu: true,
filters: true,
manualColumnMove: true,
afterChange: function(changes, source){
if(source !== 'loadData'){
console.log(changes)
}
}
});
});