Skip to content
Loading
  • 0
    Hi Suman,
    I think you need to change this line:
    var id = $scope.ID;
    To,
    var id = $scope.Customer.ID;
    Hope this will help you.
    0
  • 0
    hi vaibhav,
    by using that able to getting id ,but same dropdown values applying to all, if i change dropdown all rows changing and getting same values
    0
  • Bikesh Srivastava
    0
    var getAccountBalance = ReceiptsService.GetAccountBalance(index);
    change like this...
    0
  • 0
    1. //Just Copy paste As you want.



    2. "viewport"content="width=device-width"/>
    3. AddRowOnDropDown
    4. "http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js">
    5. "main">
    6. "DemoCtrl">
    7. "rinrvm">
    8. "c"ng-options="c.IDasc.nameforcincustomer"ng-change="GetAccountBalance($index,c)"style="width:150px;height:22px;"name="tCustomer">
    9. "text"ng-model="AdjustAmount"name="tPendingAdjusted"/>
    10. "text"ng-model="ReceiptsViewModel.AdjustAmount"name="tAmount"/>

  • 0