angular-ui/ui-grid
Auf GitHub ansehensave() works but restoreState($scope, $scope.state) doesn't
Open
#6.355 geöffnet am 10. Aug. 2017
help wanted
Repository-Metriken
- Stars
- (5.395 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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.