Create table inside tr tag?

I have an html table, <tbody>

it is generated with angular ng-repeat

. Here is my html:

    <tr ng-repeat-start="car in carList | filter:tableFilter" ng-click="activeRow =">
        <td><a target="_blank" href="{{car.carLink}}">{{}}</a></td>
    <tr ng-repeat-end ng-show="">


I want to replace <td>{{}}</td>

with a table that will only show when clicking on some row.

But if I just go over and replace <td>{{}}</td>

with the table I want, my main table will no longer create additional rows when clicked.

So, is it possible to place a table inside a tag <tr>

? If so, what is the correct way to do this?


source to share

2 answers

Use colspan

also rowspan

for this purpose



You can try doing it like this:



those. you can add complete table inside td




All Articles