How to extract the value of the selected row

Also available in module form, if you want a system.dataset.print: