angular-ui/ui-grid

regression on grid cell edit - $parse() throws errors

Open

#5,520 opened on Jul 5, 2016

View on GitHub
 (2 comments) (1 reaction) (0 assignees)JavaScript (2,496 forks)batch import
good first issue

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have recently updated to ui-grid 3.2.1 from 3.1.1. After upgrade I started getting $parse() throwing error while parsing the grid values that was working perfectly fine before upgrade.

When I compared the code I found this change between the versions -

version 3.1.1 - (line 15117 in addAriaLiveRegion function) values.push(currentSelection[i].getIntersectionValueFiltered());

version 3.2.1 - (line 15208 in addAriaLiveregion function) values.push(grid.getCellDisplayValue(currentSelection[i].row, currentSelection[i].col));

If I disable the cellNav feature, the error vanishes. So I thought of filing a regression bug here.

Contributor guide