How to highlight the first row of q-table
-
When a new row is added to q-table (via socket.io) we need to high light the row. We do not have the newly added item id. So, how can we get the first row, so that we can select it.
Currently, using:selected.sync="selected"
on click event to high light the row. -
Duh … Got the first item fromthe q-table v-model
lists.data[0]