am adding table row on changing of dropdown,
JS
$scope.rvm = [{}];
$scope.GetAccountBalance = function (index) {
var getAccountBalance = ReceiptsService.GetAccountBalance($scope.ID);
var id = $scope.ID;
alert(id);
if ($scope.rvm.length == (index + 1)) {
$scope.rvm.push({
});
}
am able to add new row by using this code on dropdown change, but am not getting selected dropdown id(alert:undefined)
if i comment ng-repeat in tr , am getting id but not adding row
how to get id on ng-repeat
Vaibhav DeshmukhPosted Sep 22, 2016, 3:42 AM
Bikesh SrivastavaPosted Sep 20, 2016, 3:10 AM
suman goudPosted Sep 20, 2016, 2:49 AM
Vaibhav DeshmukhPosted Sep 20, 2016, 2:24 AM
Akash VarshneyPosted Sep 20, 2016, 2:22 AM
Akash VarshneyPosted Sep 20, 2016, 1:52 AM
suman goudPosted Sep 20, 2016, 1:42 AM
Akash VarshneyPosted Sep 20, 2016, 1:35 AM