grid.onClick.subscribe(function(e) {
var cell = grid.getCellFromEvent(e),
row = cell.row;
// var item = dataView.rows[row];
});
I used to use dataView.rows to access the item inside a grid, and this seems not working in the latest version any more, how shall we update the code?
grid.onClick.subscribe(function(e, args) {
var item = args.item;
// or dataView.getItem(args.row);
});