After .onRowSelect, the record's id is 'undefined'

How do looks like the console-log-output for your row-data?
Do you have a screenshot?