Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List array passed by props #21

Open
garbinmarcelo opened this issue Dec 10, 2018 · 1 comment
Open

List array passed by props #21

garbinmarcelo opened this issue Dec 10, 2018 · 1 comment

Comments

@garbinmarcelo
Copy link

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?

@dwqs
Copy link
Owner

dwqs commented Dec 13, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants