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

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

Projects

None yet

1 participant

@Async0x42

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 from Data Table - Changing columns doesn't rerender the chart to Data Table - Changing columns doesn't update chart columns Dec 13, 2016
@rstoenescu rstoenescu changed the title from Data Table - Changing columns doesn't update chart columns to 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