-
Notifications
You must be signed in to change notification settings - Fork 107
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
TypeError: Cannot read property '0' of undefined #159
Comments
@kirillbashtenko Looks like it doesn't work, the combination of ui-scroll/ui-scroll-td and ng-repeat inbetween. This works for ui-scroll-th, but not for ui-scroll-td. While we are looking into it, you can do a workaround without ng-repeat:
Thanks for the issue repro! |
@dhilt thank you, for your quick response, but that wouldnt work in my case, i have dynamic columns and rows, so probably i'm stuck right now. |
@kirillbashtenko I pushed the fix into grid-scopes-wrapping branch. That was the issue of race condition around ui-scroll-td linking, and it is possible to say that the ng-repeate wrapping scope was the cause. I want to think a little bit more about the problem, so the code is in branch. It includes distributive files and the demo . It would be great if you could try it! |
@dhilt yeah , thank you, it's great , working as i expect right now! |
@kirillbashtenko Ok, you can use the branch code while I'm preparing it for 'master'. |
@dhilt after detail investigation i found a really big performance problems , in each tbody > tr i saw: |
@kirillbashtenko Yes, it looks not good... By the way if you try 100x500 double ng-repeat
...this renders pretty slow and the scroll proccess is being affected itself. Then just add two simple bindings Regarding |
Closing the issue since the fix was merged into 'master' and v1.6.2 is released... |
Hi, can you help me ?
what's wrong with this table link
????
The text was updated successfully, but these errors were encountered: