We have a ng-Grid in application. Once we change User from drop down http call made and get data for user and it should bind to grid. I want only digest to update data to grid should be fired not all digest in grid. Basically i want good performance doing this operation.
$http({ method: 'POST', url: '/Home/GetPreBillPendingBilling/', data: { UserName: $scope.User } }).success(function (thisdata) { $scope.PendingBilling = angular.fromJson(thisdata); $("#divLoading").hide(); $scope.ngGridViewPendingBilling.isLoaded = true; });
$scope.PendingBilling is data source of ng grid
