Closed
Description
I'm trying to dynamically disengage row Selection b y clicking on a button.
Would there be any to do this?
I'm trying to use a button binded on this function but it doesn't work.
$scope.selectionMode = true;
$scope.toggleEditingMode = function () {
$scope.$apply(function () {
$scope.selectionMode = ! $scope.selectionMode
$scope.gridOptions.enableRowSelection = $scope.selectionMode;
})
}