A click on a table cell in a basic lightning:datatable highlights the cell border but does not select the row. For the common case where the table is just listing read-only data, being able to click/touch anywhere in the row would seem a usability benefit particularly on a mobile device. I don't see an onclick
or similar attribute to hook code to.
Is there some simple configuration or code that will get the row selected when a table cell is clicked?
(Resorted to this Angular Selection Model for a similar need in an Angular project.)