Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ng-Change not Working inside Angular-UI-Grid #58

Open
mriso79 opened this issue Mar 7, 2017 · 1 comment
Open

Ng-Change not Working inside Angular-UI-Grid #58

mriso79 opened this issue Mar 7, 2017 · 1 comment

Comments

@mriso79
Copy link

mriso79 commented Mar 7, 2017

Hi Guys, I'm using it inside angular-ui-grid but the ng-change event never fires ... Any clue ? Regards!

@mriso79
Copy link
Author

mriso79 commented Mar 7, 2017

Hi !!! Just figured out. For those with the same problem:

You have a function:
$scope.showMe = function(){ alert('some');}

So your NG-CHANGE in your Ui-Switch must be:
ng-change="grid.appScope.showMe()"

as per
angular-ui/ui-grid#184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant