Work with Selection object
You can manipulate with DataView items via the API of the selection object. It is possible to select an item, remove selection, and get the id or even the object of a selected DataView item.
Enabling/Disabling Selection object