onRowSelection
The event is fired when the user clicks on the radio button in the first column. The radio button is visible when the 'selectionMode' is set to "SINGLESELECT".
using the taglib
import com.sap.htmlb.enum.TableSelectionMode; Otherwise an exception is thrown ("method not found") when the user clicks on the
radio button of the tableView. |
The selected row can also be determined on the client by using the htmlbevent object.
For JS there are a few API calls available to get to the key.
htmlbevent.obj.getClickedRowKey();
For more information see JavaScript API.