ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Error on cell edit

Open pro85 opened this issue 13 years ago • 5 comments

On keyup in edited input i get error setter is not a function Version 2.0.5, angularjs 1.0.6.

pro85 avatar May 09 '13 06:05 pro85

Maybe getter must be: var getter = $parse($scope.$eval('col.field'));

pro85 avatar May 09 '13 08:05 pro85

Is the value of cell not a string? If so, then this is probably the same issue as #399, which will be fixed in the 2.0.6 release

c0bra avatar May 09 '13 14:05 c0bra

Yes value is number.

pro85 avatar May 11 '13 04:05 pro85

There is a fix slated for the 2.0.6 release. The $eval around the column property is causing issues with the $parse that editable cells use. On May 10, 2013 11:13 PM, "pro85" [email protected] wrote:

Yes value is number.

— Reply to this email directly or view it on GitHubhttps://github.com/angular-ui/ng-grid/issues/402#issuecomment-17754064 .

c0bra avatar May 11 '13 15:05 c0bra

This will work in 2.0.7. (was fixed in 2.0.6)

jonricaurte avatar Jun 29 '13 04:06 jonricaurte