I'm using UI-grid
for AngularJS
I have array - when the length is 0 for example choosing 4 rows , I open a popup. but I need to disable the other rows - that unselected and prevent from the user to select them until the length will be > 0.
How can I do that?