angular-ui/ui-grid

Controller 'uiGridRenderContainer', required by directive 'uiGridHeaderCell', can't be found!

Open

#3,655 创建于 2015年6月1日

在 GitHub 查看
 (9 评论) (0 反应) (1 负责人)JavaScript (5,395 star) (2,496 fork)batch import
good first issuetype: bug

描述

I love ui-grid, no need to say it... ;) I'm trying to use example "306 custom filter" from ui-grid docs, using https://github.com/johnpapa/generator-hottowel as a starting point, and I'm getting the Controller 'uiGridRenderContainer', required by directive 'uiGridHeaderCell', can't be found! error both on IE11 and Chrome filter is working as expected but the second time the modal grid is opened, see 109: $compile($elm)($scope); by showAgeModal in myCustomModalCtrl and any subsequent opening,the error is thrown, depending on number of rows in grid, doubling its occurrence every time, I've narrowed down the problem to the angular version: the example works fine for versions prior 1.3, for example http://ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular.js http://ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular-touch.js http://ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular-animate.js

anyway... bravi! ciao, Fabrizio

uigriderror

贡献者指南