-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: uiGridRenderContainer is not a function with ui.grid #67
Comments
As an update I just did a one for one conversion of examples/sample2 in the ocLazyLoad source from ngGrid to uiGrid and get the same error. |
Ok I'll check that out monday and try to find where the problem is |
Thank you Olivier! On Fri, Sep 26, 2014 at 9:17 PM, Olivier Combe notifications@github.com
David L. Sargent "I shall be telling this with a sigh |
I can reproduce the error, but I have no idea why it is not working. |
OK. I'll submit a bug on the UIGrid site, see if they can take a look maybe optimize something to work better with ocLazyLoad. |
I don't think that there is an error on their side, just maybe some weird use case that I don't take into account |
Are you looking into it further or is this a lost cause? |
I'll try to fix it because ui-grid is gonna be an important library, and because I want ocLazyLoad to work with any angular library :) |
I ran into this issue as well. I am on Angular 1.2.21 instead of the 1.3 RC listed above. Using UI-Grid 3.0.0-rc.11. For the googlers out there searching for this issue, here is the full console log when it occurs: ui-grid controller angular.js:10023 |
It's fixed in 0.3.9. |
I had it working with ngGrid but wanted to try uiGrid as it is replacing ngGrid and does not require jQuery (this is for a site that we are developing and thus not in production)
I've tried several different things but keep getting the following:
Error: [ng:areq] Argument 'uiGridRenderContainer' is not a function, got undefined http://errors.angularjs.org/1.3.0-rc.3/ng/areq?p0=uiGridRenderContainer&p1=not%20a%20function%2C%20got%20undefined minErr/<@https://davesargpc.ad.selinc.com/scripts/angular.js:80:5
I got uiGrid up and running without ocLazyLoad and RequireJs but once I add them into the mix and try to lazy load the module I get the above error.
Is this a bug with uiGrid or something uiGrid is doing that makes it incompatible with ocLazyLoad or maybe something that needs to be added to ocLazyLoad
I tried looking through the uiGrid code but just don't know enough about how the module loading works to understand what might be wrong.
Versions:
ui-grid - v3.0.0-rc.11 - 2014-09-26
ocLazyLoad version v0.3.8
The text was updated successfully, but these errors were encountered: