1
I am trying to develop a code to be able to navigate between the lines of an html table using the navigation arrows.
what would be the best way? I need the selected line to stay with a different class.
my code is like this:
<tr v-for="(item, index) in itens_adicionados">
<td class="text-right">{{ item.item }}</td>
<td class="text-right">{{ item.codigo }}</td>
<td></td>
<td class="text-right">{{ item.descricao }}</td>
<td class="text-center">{{ item.quantidade }}</td>
<td class="text-right">{{ item.valor_unitario }}</td>
<td class="text-right">{{ item.valor_total }}</td>
</tr>
Face I may be wrong, but a table is not a static element, in order to navigate the keys would have to be editable no?!
– LeAndrade