angular-ui/ui-grid

v4.7.0 : TypeError: row.setSelected is not a function

Open

#6 928 ouverte le 4 févr. 2019

Voir sur GitHub
 (7 commentaires) (0 réactions) (1 assigné)JavaScript (2 496 forks)batch import
Hi-Pri Buggood first issuegrid-selection

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur