I have a v-data-table
and I am trying to print my headings, but with my code they are all appearing grouped into one column instead of across the entire table.
<template v-slot:header>
<thead>
<tr>
<div v-for="(itm, i) in hdrs" :key="i">
<th>
{{itm.value}}
</th>
</div>
</tr>
</thead>
</template>
Can anyone offer a suggestion as to how to resolve this issue please?