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

Data Table - Adding/removing columns to/from array doesn't update table #246

Closed
Async0x42 opened this issue Dec 13, 2016 · 0 comments
Closed

Comments

@Async0x42
Copy link

I have a simple table template, which based on a vue-router parameter, changes which list configuration / data to load. The config/data register changes properly, but the columns don't force the internal data table columns to change.

Looking in vue-devtools...
Working (referencing the newly updated columns):
columns, columnSelectOptions,

Not working (refering old columns):
cols, columnSelection, regularCols,

<template>
  <q-data-table
    :config="config"
    :columns="list.def.columns"
    :data="list.data"
    @refresh="refresh"
  >
  </q-data-table>
</template>
@Async0x42 Async0x42 changed the title Data Table - Changing columns doesn't rerender the chart Data Table - Changing columns doesn't update chart columns Dec 13, 2016
@rstoenescu rstoenescu changed the title Data Table - Changing columns doesn't update chart columns Data Table - Adding/removing columns to/from array doesn't update table Dec 13, 2016
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

1 participant