angular-ui/ui-grid
在 GitHub 查看save() works but restoreState($scope, $scope.state) doesn't
Open
#6,355 建立於 2017年8月10日
help wanted
倉庫指標
- Star
- (5,395 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Both these functions live in $scope.gridApi.saveState. One works, the other returns one of two errors (gridApi is undefined or cannot find property saveState of undefined) at first I was looking into this issue as a $scope.gridApi problem, but then I realized it makes no sense that save works and restore is throwing the error it is throwing.