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 - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

java - Reading data from multiple zip files and combining them to one -