ui-grid
ui-grid copied to clipboard
v4.7.0 : TypeError: row.setSelected is not a function
The latest version makes an error with gripApi.selection
angular.js:14996 TypeError: row.setSelected is not a function
at Object.toggleRowSelection (ui-grid.js:247923)
at Grid.selectRow (ui-grid.js:247584)
at Object.selectRow (ui-grid.js:288012)
at eval (app.js:26)
at angular.js:20887
at completeOutstandingRequest (angular.js:6479)
at angular.js:6757
The bug is visible inside the documentation : http://ui-grid.info/docs/#!/!/tutorial/Tutorial:%20210%20Selection
TypeError: t.setSelected is not a function that error upcoming when select the selection bar in ui grid. pls check.
I have the problem on my project but it is available onto the tutorial (screenshot below)
that error is upcoming when I click on one selection row
i am facing same problem.
Same problem here. Please update here if any fix available. Is there a way to uninstall this latest version and to revert to a stable version.
@rashmipallam The simplest way is to just change your version number in package.json. I will take a look at this as soon as I can.
I'm using ui grid version 4.8.1 but am still facing the same problem. The grid is working correctly but sometimes this error appears: row.selected is not a function
I am facing this issue with ui-grid v4.8.1 and AngularJS 1.7.0.
For a single row selection i get:
angular.js:14996 TypeError: t.setSelected is not a function
at Object.toggleRowSelection (ui-grid.min.js:7)
at b.o [as selectButtonClick] (ui-grid.min.js:7)
at fn (eval at compile (angular.js:15847),
For select all rows i get:
angular.js:14996 TypeError: e.setSelected is not a function
at ui-grid.min.js:7
at Array.forEach (