v2-table
v2-table copied to clipboard
List array passed by props
Hello,
I have a list of data passed by props, when I accessed the table component I ended up receiving this data and doing a "for" within the "v2-table-column" element, eg:
<v2-table-column v-for="coluna in colunas" :label="coluna.label" :prop="coluna.prop" sortable width="200"></v2-table-column>
where "coluna " receives an array of categories, for example: list[0].departamentos[0].nome
How do I list these arrays within the current column?
Another question, why is the table not 100% wide?
- You mean custom columns?
- What's mean of 100% wide?