Hi Peng,
Thanks for taking time to report the issue with the Help Document.
Please follow the below code as of now. Use ‘ej.base.closes’ instead of ‘closest’.
var onClick = function(args){
var rowObj = grid.getRowObjectFromUID(ej.base.closest(args.target, '.e-row').getAttribute('data-uid'));
var data = rowObj.data;
alert(JSON.stringify(data));
} |
We have logged an UG improvement on the reported problem.
Regards,
Seeni Sakthi Kumar S.