{"action":"opened","issue":{"url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4700","labels_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4700/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4700/comments","events_url":"https://api.github.com/repos/angular-ui/ui-grid/issues/4700/events","html_url":"https://github.com/angular-ui/ui-grid/issues/4700","id":116989063,"number":4700,"title":"$scope.gridApi.selection.unSelectRow(row.entity); doesn't work","user":{"login":"flamant","id":15849850,"avatar_url":"https://avatars.githubusercontent.com/u/15849850?v=3","gravatar_id":"","url":"https://api.github.com/users/flamant","html_url":"https://github.com/flamant","followers_url":"https://api.github.com/users/flamant/followers","following_url":"https://api.github.com/users/flamant/following{/other_user}","gists_url":"https://api.github.com/users/flamant/gists{/gist_id}","starred_url":"https://api.github.com/users/flamant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flamant/subscriptions","organizations_url":"https://api.github.com/users/flamant/orgs","repos_url":"https://api.github.com/users/flamant/repos","events_url":"https://api.github.com/users/flamant/events{/privacy}","received_events_url":"https://api.github.com/users/flamant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T11:51:07Z","updated_at":"2015-11-15T11:51:07Z","closed_at":null,"body":"Hello,\r\non rowSelectionChanged event, I want to unselect grouping row when I select or unselect one of its children \r\n\r\n            var parentRow;\r\n            var i = 0;\r\n            console.log($scope.gridApi.grid.renderContainers.body.renderedRows)\r\n            $scope.gridApi.core.getVisibleRows($scope.gridApi.grid).some( function(rowItem) {\r\n            \ti++;\r\n            \tconsole.log('i='+i+'   rowItem.treeLevel='+rowItem.treeLevel+'  rowItem.isExpanded='+rowItem.isExpanded);\r\n            \tconsole.log(rowItem);\r\n            \tif (rowItem.treeLevel == 1 && rowItem.treeNode.state == 'expanded') {\r\n            \t\tconsole.log('parent row selected');\r\n            \t\tparentRow = rowItem;\r\n            \t}\r\n            \tif(rowChanged == rowItem) {\r\n            \t\tconsole.log('parentRow unselected');\r\n            \t\t\t$scope.gridApi.selection.unSelectRow(parentRow.entity);\r\n\r\n            \t\treturn true;\r\n            \t}\r\n            \r\n            });\r\n\r\nBut $scope.gridApi.selection.unSelectRow(parentRow.entity); doesn't work\r\n\r\nThank you in advance for your answers"}}