[Vuejs]-Vuejs v-for on table with split cells

2👍

You can try it like this

<table border="1" align="right" width="200">
    <thead style="background-color: #87cefa;">
        <tr class="uppercase">
            <th> File Name</th>
            <th> Action</th>
        </tr>
        </thead>
        <tbody v-for="(file,index) in 5">
        <tr >
            <td rowspan="2">File#{{index}}</td>
            <td>top right</td>
        </tr>
        <tr><td>bottom right</td>
        </tr>
    </tbody>
</table> 

Here is the jsFiddle

Leave a comment