one1day
one1day

Reputation: 139

Pop up edit in ng grid doesn't work

I am doing similar coding as shown in this link below jsfiddle

But , when I click edit button , it not hitting and not showing the modal pop up. OnContactEdit doesn't hit

$scope.OnContactEdit = function(value){

    $scope.id = value.id;
    $scope.name = value.name;
    $scope.editT = true;

};

Any idea ?

Upvotes: 0

Views: 31

Answers (1)

Rani Radcliff
Rani Radcliff

Reputation: 5076

You need to use ng-click="grid.appScope.onContactEdit(row)" in your template to access that function. You didn't supply the code for your grid so I am working blind here.

Upvotes: 1

Related Questions