Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I'm trying to add ui.grid to custom plugin.
For some reason I get the following errors (I checked in app.requires array, and i can see ui.grid plugin)
angular.min.js:63 Error: No controller: uiGridRenderContainer
at Error (native)
at i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:359)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:404
at Array.forEach (native)
at n (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:6:470)
at i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:381)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:341)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:49:201
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:100:347
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437) <div class="ui-grid-render-container" ui-grid-render-container="" container-id="'body'" col-container-name="'body'" row-container-name="'body'" bind-scroll-horizontal="true" bind-scroll-vertical="true" enable-horizontal-scrollbar="grid.options.enableHorizontalScrollbar" enable-vertical-scrollbar="grid.options.enableVerticalScrollbar">
angular.min.js:63 TypeError: Cannot set property 'header' of undefined
at updateHeaderReferences (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1224:72)
at compile.pre (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1189:13)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:322)
at e (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:40:139)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:382)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:49:214
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437) <div ui-grid-header="" class="ng-scope">
angular.min.js:63 TypeError: Cannot read property 'getViewportWidth' of undefined
at Grid.updateColumnWidths (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1250:62)
at http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4406:33
at Grid.buildStyles (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4403:8)
at Grid.refreshCanvas (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4782:12)
at Object.fn (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:2657:19)
at Object.$get.e.$digest (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:90:356)
at Object.$get.e.$apply (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:92:431)
at j (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:101:80)
at r (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:104:449)
at http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4743:12
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:80:485
at Object.$get.e.$eval (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:92:272)
at Object.$get.e.$digest (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:90:142)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using ui.grid in plugin
Hi, I'm trying to add ui.grid to custom plugin.
For some reason I get the following errors (I checked in app.requires array, and i can see ui.grid plugin)
angular.min.js:63 Error: No controller: uiGridRenderContainer
at Error (native)
at i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:359)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:404
at Array.forEach (native)
at n (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:6:470)
at i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:42:381)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:341)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:49:201
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:100:347
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437) <div class="ui-grid-render-container" ui-grid-render-container="" container-id="'body'" col-container-name="'body'" row-container-name="'body'" bind-scroll-horizontal="true" bind-scroll-vertical="true" enable-horizontal-scrollbar="grid.options.enableHorizontalScrollbar" enable-vertical-scrollbar="grid.options.enableVerticalScrollbar">
angular.min.js:63 TypeError: Cannot set property 'header' of undefined
at updateHeaderReferences (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1224:72)
at compile.pre (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1189:13)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:322)
at e (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:40:139)
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:382)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:49:214
at k (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:44:382)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:49:201
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:100:347
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437) <div ui-grid-header="" class="ng-scope">
angular.min.js:63 TypeError: Cannot read property 'getViewportWidth' of undefined
at Grid.updateColumnWidths (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1250:62)
at http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4406:33
at Array.forEach (native)
at Grid.buildStyles (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4403:8)
at Grid.refreshCanvas (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4782:12)
at Object.fn (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:2657:19)
at Object.$get.e.$digest (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:90:356)
at Object.$get.e.$apply (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:92:431)
at j (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:101:80)
at r (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:104:449)
angular.min.js:63 TypeError: Cannot read property 'getViewportWidth' of undefined
at Grid.updateColumnWidths (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:1250:62)
at http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4406:33
at Array.forEach (native)
at Grid.buildStyles (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4403:8)
at Grid.refreshCanvas (http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4782:12)
at http://dev.isrotel.co.il/App_Plugins/RoomOccupationFilter/ui-grid-unstable.js:4743:12
at j.promise.then.i (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:79:437)
at http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:80:485
at Object.$get.e.$eval (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:92:272)
at Object.$get.e.$digest (http://dev.isrotel.co.il/umbraco/lib/angular/1.1.5/angular.min.js:90:142)
is working on a reply...