Update columns from ColumnEditor

This commit is contained in:
Mel O'Hagan 2024-02-27 11:29:11 +00:00
parent 084ee76b3f
commit d23293cd8b
1 changed files with 2 additions and 1 deletions

View File

@ -106,11 +106,12 @@
/>
<Label small>Export columns</Label>
<ColumnEditor
bind:value={parameters.columns}
value={parameters.columns}
allowCellEditing={false}
componentInstance={selectedTable}
on:change={e => {
const columns = e.detail
parameters.columns = columns
parameters.customHeaders = columns.reduce((headerMap, column) => {
return {
[column.name]: column.displayName,