Skip to content

Is there any way to dynamically change gridOptions.enableRowSelection? #2394

Closed
@ncourtial

Description

@ncourtial

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;
})
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions