You should specify the events you wish to bind to via the data-bind attribute and the events binding:
<div data-role="grid"
data-bind="source: dataSource, events:{dataBound: dataBound, detailInit: detailInit}"
></div>
<script>
var viewModel = kendo.observable({
dataBound: function(e) {
var grid = e.sender; // `this` is the viewModel instance
},
detailInit: function(e) {
var grid = e.sender; // `this` is the viewModel instance
},
dataSource: [
{ name: "John Doe" },
{ name: "Jane Doe" }
]
});
</script>