Default Handsontable Demo

HTML

<script src="http://handsontable.com/dist/jquery.handsontable.full.js"></script>
<link rel="stylesheet" href="http://handsontable.com/dist/jquery.handsontable.full.css">
<link rel="stylesheet" href="http://handsontable.com/demo/css/samples.css">
<h2>Default Handsontable Demo</h2>

<div id="exampleGrid"></div>

CSS

body {
    background-color: white;
    margin: 20px;
}

h2 {
    margin: 20px 0;
}

JavaScript

var myData = [
    ["", "Kia", "Nissan", "Toyota", "Honda"],
    ["2008", 10, 11, 12, 13],
    ["2009", 20, 11, 14, 13],
    ["2010", 30, 15, 12, 13]
    ];

var hot = new Handsontable(document.getElementById('exampleGrid'), {
  data: myData,
    afterSelectionEnd: function(r, c, r2, c2) {
                this.getActiveEditor().beginEditing();
            }
});

document.body.addEventListener('touchend', function(event){
	Handsontable.hooks.run(hot, 'afterSelectionEnd');
});