Deselect row in table data

Hello everyone
Is there any way for deselecting a row in a table. I would like to be able to hide the detail container setting the selected row to null when i click again on the row.

Found the answer 
for every one searching for a way to deselect a row when clicking on a DATA TABLE in bonita
just create a personalized widget from datatable ans replace selectRowHandler function  code in Controller by this one

  this.selectRowHandler = function (row) {
    if (this.isSelectable()) {
           if( $scope.properties.selectedRow === row )
           $scope.properties.selectedRow = null
           else
          $scope.properties.selectedRow = row; 
    }
  };