angular-ui/ui-grid

ng-if in cell template disables cellnav focus

Open

#5,643 opened on 2016年8月24日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
help wanted

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

I am using cellNav with a custom cell template which works fine until I add an ng-if statement to the template at which point the cell stops receiving focus on click.

This is demonstrated in this plunkr: http://plnkr.co/edit/Wb8hBahoQcGaaSeCCT9n?p=preview where the first two columns have a the same cell template aside from an ng-if="true" clause in the latter.

Is there a known workaround for this?

P.S. Thanks for an awesome project!

コントリビューターガイド