Skip to content

Commit 57d258e

Browse files
Rafal Jozwikmportuga
Rafal Jozwik
authored andcommitted
fix(Grid.js): wrong use in getCellDisplayValue
1 parent 0cdf4e9 commit 57d258e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/js/core/factories/Grid.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,8 @@ angular.module('ui.grid')
19141914
}
19151915
}
19161916

1917-
return col.cellDisplayGetterCache(row);
1917+
var rowWithCol = angular.extend({}, row, {col: col});
1918+
return col.cellDisplayGetterCache(rowWithCol);
19181919
};
19191920

19201921

0 commit comments

Comments
 (0)