Skip to content

Commit

Permalink
fix(cellNav): Error when field defined with number
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JLLeitschuh committed Aug 25, 2015
1 parent 7643a9e commit 5b74559
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/cellnav/js/cellnav.js
Expand Up @@ -67,8 +67,8 @@
* If the column has a cellFilter this will NOT return the filtered value.
*/
RowCol.prototype.getIntersectionValueRaw = function(){
var getter = $parse(this.col.field);
var context = this.row.entity;
var getter = $parse(this.row.getEntityQualifiedColField(this.col));
var context = this.row;
return getter(context);
};
/**
Expand Down

0 comments on commit 5b74559

Please sign in to comment.