angular-ui/ui-grid
Ver no GitHubsave() works but restoreState($scope, $scope.state) doesn't
Open
#6.355 aberto em 10 de ago. de 2017
help wanted
Métricas do repositório
- Stars
- (5.395 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.