update from 4.0.2 to 4.0.4, grid shows nothing and no console error
Hi,
I am updating ui grid from 4.0.2 to 4.0.4 to solve grid menu error(following screen shot) related with ui-grid-exporter.
but after ui grid lib updated, grid shows nothing and no error in console, only grid menu shows 2 options.
have anyone has the same issue?
Are you setting data source with string value? Maybe it's related to this issue: https://github.com/angular-ui/ui-grid/issues/6155
@bnaand yes, I am using string value to set the data source. is there any fix to this issue?
from 4.0.3, ui grid is not taking data source with string, which is setting data on $scope: $scope.data = data; And then direct the grid to resolve whatever is in $scope.data: $scope.gridOptions.data = 'data'; issue solved by using $http.get('/data/100.json') .success(function(data) { $scope.myData = data; $scope.gridOptions.data = $scope.myData; }); Where you do this, you need to take care in updating the data - you can't just update $scope.myData to some other array, you need to update $scope.gridOptions.data to point to that new array as well.