Cell template using ng-click on rowSelectionEnabled grid
Hello everyone,
i have a grid with:
enableRowSelection: true enableRowHeaderSelection: false
In the last cell i am using a button with ng-click event handler.
My grid fired 2 events:
- selection
- ng-click
How to avoid cell selection ? I need only ng-click event!!!
NOTE: if i use enableRowHeaderSelection: true attribute, it is all ok!
CODE: http://plnkr.co/edit/oAm3Zm
+1
You can use a css rule to disable user selection see here http://stackoverflow.com/questions/826782/css-rule-to-disable-text-selection-highlighting I hope that helps
Thanks, but your solution not resolve my problem.
It isn't only CSS problem but it is functionality problem.
my code (see plunker) fire 2 events:
- selection
- ng-click
I would fire only ng-click!
+1
Try using '$event.stopPropagation();' before the actual method invocation.
Solution provided that sounds like it would resolve the issue, no response for a few months, assuming issue is resolved.