Browse Source

fix: view - gridview width syncing

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/843/head
Pranav C 3 years ago
parent
commit
ef85fe83c5
  1. 4
      packages/nc-gui/components/project/viewTabs/viewSpreadsheet.vue

4
packages/nc-gui/components/project/viewTabs/viewSpreadsheet.vue

@ -133,6 +133,7 @@
<template v-else-if="selectedView && (selectedView.type === 'view' || selectedView.show_as === 'grid' )">
<xc-grid-view
:columns-width.sync="columnsWidth"
:meta="meta"
:data="data"
:available-columns="availableColumns"
@ -201,7 +202,7 @@
:primary-value-column="primaryValueColumn"
:concatenated-x-where="concatenatedXWhere"
:sort="sort"
:columns-width.sync="columnsWidth"
:selected-view-id.sync="selectedViewId"
:selected-view.sync="selectedView"
:filters.sync="filters"
@ -276,6 +277,7 @@ export default {
relationPrimaryValue: [String, Number]
},
data: () => ({
columnsWidth: null,
syncDataDebounce: debounce(async function(self) {
await self.syncData()
}, 500),

Loading…
Cancel
Save