1
Look at the figure
How do I leave the date next to the word Dollar?
That is the code!
<div class="row">
12/12/2000
</div>
<div class="row">
<table class="table">
<tr>
<td v-for="(moeda, key, index) in bancodedados.valores" :key="index">{{moeda.nome}}</td>
</tr>
<tr>
<td v-for="(valor, key, index) in bancodedados.valores" :key="index">R$ {{valor.valor}}</td>
</tr>
<tr>
</tr>
</table>
</div>
</div>
If I make this attempt the page breaks;
<div class="row">
<table class="table">
<tr>
<td rowspan="2">12/12/2000</td>
</tr>
<tr>
<td v-for="(moeda, key, index) in bancodedados.valores" :key="index">{{moeda.nome}}</td>
</tr>
<tr>
<td v-for="(valor, key, index) in bancodedados.valores" :key="index">R$ {{valor.valor}}</td>
</tr>
<tr>
</tr>
</table>
In a new column?
– Sam
If I put it in a new column it won’t change anything, it’s the same.
– wladyband
Ever tried to place a column on the first TR with rowspan:
<td rowspan="2">12/12/2000</td>
– Sam
I updated the page, take a look, the page broke
– wladyband
It wasn’t the way I said it was to put the TD inside the TR where the dollar shows up.
– Sam
was perfect, thank you very much, can put as a suggestion right.
– wladyband