Hi Tito, 

Here's a more detailed explanation of the problem:

 if user selects "League" on dropdown 1, two dropdowns should be displayed 
on the "Available Items" column. The one from the top lets you select a 
sport, when selected, down dropdown should display league options. The 
problem now is that all dropdowns from the table get populated (you can see 
that if you select "league" on another row's dropdown, league options are 
already displayed before you select your sport). What I need is to restrict 
function's action only to row operated by user.

Here's a fiddle:

https://embed.plnkr.co/kAiLw40hUvnLk9jv86aj/

El sábado, 16 de abril de 2016, 0:29:02 (UTC-5), Tito escribió:
>
> Not sure if this is what you are looking for?
>
>               <td>{{ room.roomname }}</td>
>                 <td> 
>                     <input type="button" value="Edit" 
> ng-click="updateroom(room.roomid)" class="btn btn-primary" />
>                     <input type="button" value="Delete" 
> ng-click="deleteroom(room.roomid)" class="btn btn-primary" />
>                 </td>
>
> On Friday, April 15, 2016 at 9:40:53 PM UTC-7, Enrique del Bosque wrote:
>>
>> I have a table with some rows (ng-repeat), each row has a button and a 
>> select box, when button is triggered a GET service populates the select 
>> box, any one knows how to restrain the call to the row that was operated by 
>> the user?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to