Hi Denny,
You have a small mistake in your template, you are closing the ‘end-TR’ on
the wrong place.
Put something like this in:
<tr ng-repeat-start="user in $data">
<td ng-repeat="column in columns" ng-show="column.visible"
sortable="column.field" style="text-align:center;">
{{user[column.field]}}
</td>
<td>
<button ng-if="user.expanded" ng-click="user.expanded =
false">-</button>
<button ng-if="!user.expanded" ng-click="user.expanded
= true">+</button>
</td>
</tr>
<tr ng-if="user.expanded" ng-repeat-end>
<td colspan="8">test</td>
</tr>
Regards
Sander
--
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.