Closed taozhaolib closed 7 years ago
Then, is it possible that your data structure of the tableData
and the one returning from http://xxxx
is different?
See this codepen if it helps.
Thanks this really helps!
I would also like to pass the table my own data, not something I get form an api, how can I do that?
@AndreaRylander See the link to the codepen above.
My data query is complicated so I had to pass down the data from parent component directly to the vuetable. I ran into an error like this:
:data="tableData" :fields="fields" pagination-path="" @vuetable:pagination-data="onPaginationData" > No relevant data
If I replaced the :data attribute with api-url="http://xxxx" it then worked.