In the MVC definition of the grid, I added
.Events(e=>e.Change("gridChange"))
and then in the script,
function gridChange(){
var grid = $("#grid").data("kendoGrid");
var selectedItem = grid.dataItem(grid.select());
alert("Data is: "+ selectedItem.toString());
}
Run, click on row? Alert Data is: [Object object]
If I change it to alert("Data is: "+ selectedItem[0]);
Run, click on row? Alert Data is: undefined. There are 5 items in each row array, need to list them out, looking for any examples on how to do this in MVC, thanks!
Brad