angular-ui/ui-grid

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

已關閉

#6,928 建立於 2019年2月4日

 (7 則留言) (0 個反應) (1 位負責人)JavaScript (2,496 個分叉)batch import
Hi-Pri Buggood first issuegrid-selection

倉庫指標

星標
 (5,395 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南