-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
cellRenderer with ng-click not firing #85
Comments
do you have 'angularCompileRows=true' set in the gridOptions? |
Yes I did. So in the end it was user error :-) Thanks for the reply. |
Great you got it sorted!! To be honest, I had very little to go on with the above! |
I wonder if it is worth adding in detection for when a user returns markup that uses obvious Angular directives (e.g. If you do detect it, you could log something to the console to warn the developer of their likely mistake. You'd probably need a way to disable that warning via code, though, in case you did it deliberately. Perhaps a provider method or property? It might make it more user friendly for new developers and cause you to spend less time dealing with GitHub issues like this one. :-)
|
interesting idea. as more people use, am sure more people will be asking the same newbie questions. i was thinking of having the angularCompile the other way around - have it on by default, and property to turn it off. or just provide a FAQ section, that would be the top question in the FAQ!! |
Personally I like the fact that it's off by default. It's stops unnecessary bloat being loaded. Specially if like me some of the grids are preloaded with data and don't need any interaction.In short if I want to use angular I'll switch the flag on. The unclear bit was not realizing how important the params.$scope was. Because from the grid cell you don't have access to the controller scope unless you inject it into the params.$scope part. Again what's nice is that I'm only injecting what I need. No unnecessary bloat. I'm really impressed by how you're approaching the development of this module.Well done and I look forward to all the features coming. |
Hadn't really thought about the impact of the grid using an isolated scope. What does ng-grid do? On 22 April 2015 at 12:50, vinnytheviking notifications@github.com wrote:
The information transmitted is intended only for the person or entity to |
ng-click is working fine.i need to pass another field value in one column.my code is initially it is working fine. suppose if iam doing grouping, it shows error like ClaimID is undefined or null reference. i dont know why it is coming. |
Hi All, this.myImageCellRenderer = function(rowEntity) { |
Hi.
I'm wondering if you can help me. I've got a cellRenderer function that creates a hyperlink. I need to fire a ng-click action on the hyperlink. The function for my click is in my controller.
ng-click="groupClick('test')" or ng-click="search.groupClick('test')" ---- doesn't fire
Any help appreciated.
Vinny
The text was updated successfully, but these errors were encountered: