Skip to content
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 is thrown when focusing a cell #4258

Closed
mathiasdose opened this issue Aug 25, 2015 · 2 comments
Closed

Error is thrown when focusing a cell #4258

mathiasdose opened this issue Aug 25, 2015 · 2 comments

Comments

@mathiasdose
Copy link
Contributor

We have identified that the error below is thrown when using dot notation in col.field e.g "1.Blabla". This occurs once you focus the cell.
screen shot 2015-08-25 at 09 39 44

The function below is what causing this error and was added in 9532de2

RowCol.prototype.getIntersectionValueRaw = function(){
        var getter = $parse(this.col.field);
        var context = this.row.entity;
       return getter(context);
      };

9532de2

@JLLeitschuh
Copy link
Contributor

Do you have a plunker that I can use for testing? I'll see if I can fix this today.

@mathiasdose
Copy link
Contributor Author

http://plnkr.co/edit/9ybwvU46hI88uJtqEeWG?p=preview

Just focus any of the cells and you will see the error in the console.

JLLeitschuh added a commit that referenced this issue Aug 25, 2015
Cell nav was throwing an error when you had a field defined like `'1.b'`
Resolved by using the `getQualifiedColField` method on the gridRow.

Closes #4258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants