angular-ui/ui-grid

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

クローズ

#6,928 opened on 2019/02/04

 (7 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (2,496 件のフォーク)batch import
Hi-Pri Buggood first issuegrid-selection

Repository metrics

Stars
 (5,395 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド