v2-table icon indicating copy to clipboard operation
v2-table copied to clipboard

List array passed by props

Open garbinmarcelo opened this issue 7 years ago • 1 comments

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?

garbinmarcelo avatar Dec 10 '18 16:12 garbinmarcelo

  1. You mean custom columns?
  2. What's mean of 100% wide?

dwqs avatar Dec 13 '18 03:12 dwqs