javascript - ng-grid row template mouse events don't work for an editable row -


i'm creating ng-grid editable column this:

{field:'quantity', displayname:'quantity', enablecelledit:true, celltemplate:'mycelltemplate.html'} 

mycelltemplate.html:

<div ng-click="alert('foo')" ng-mouseover="hovered=true" ng-class="{myhoverclass:hovered}">      <span>{{row.getproperty(col.field)}}</span> </div> 

the ng-click doesn't work (i.e. no popup), ng-mouseover doesn't work either. how template react mouse events?

thanks


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -