خرید بک لینک

Vote count: 0

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

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 17 فروردين 1395 ساعت: 19:58

صفحه بندی