KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Since examples always tell more then just words here is what I would like to do in another language <tr> <c:forEach items="${items}" var="item"> <td>...</td> <td>...</td> <td>...</td> <c:if test="${item.showWarning}"> </tr><tr><td colspan="3">${item.warning}</td> </c:if> </tr> So this will loop over a set of items and show some properties of these items. If there is a warning, a new row will be added underneath the current row in which the warning will be shown. However, how can I do this in angularJs? If I put a ng-repeat on the tr, it will stop at the first end tag of tr. I have read on some other threads that this is not very easily done, but how can it be done? And yes, I really do want to use a table. Here is my contrived example with angularjs which is obviously not working as I would like it to. Any pointers how this can be done? JSBin example with tr-ng-repeat
Tags (comma-separated)
Save Edits
Cancel