diff --git a/packages/builder/src/components/design/settings/componentSettings.js b/packages/builder/src/components/design/settings/componentSettings.js index 31f51bf468..b3b9fb6577 100644 --- a/packages/builder/src/components/design/settings/componentSettings.js +++ b/packages/builder/src/components/design/settings/componentSettings.js @@ -20,6 +20,7 @@ import ValidationEditor from "./controls/ValidationEditor/ValidationEditor.svelt import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte" import ColumnEditor from "./controls/ColumnEditor/ColumnEditor.svelte" import BasicColumnEditor from "./controls/ColumnEditor/BasicColumnEditor.svelte" +import GridColumnEditor from "./controls/ColumnEditor/GridColumnEditor.svelte" import BarButtonList from "./controls/BarButtonList.svelte" import FieldConfiguration from "./controls/FieldConfiguration/FieldConfiguration.svelte" @@ -47,6 +48,7 @@ const componentMap = { fieldConfiguration: FieldConfiguration, columns: ColumnEditor, "columns/basic": BasicColumnEditor, + "columns/grid": GridColumnEditor, "field/sortable": SortableFieldSelect, "field/string": FormFieldSelect, "field/number": FormFieldSelect, diff --git a/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnDrawer.svelte b/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnDrawer.svelte index 6e57d20751..f249245b34 100644 --- a/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnDrawer.svelte +++ b/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnDrawer.svelte @@ -18,6 +18,7 @@ export let options = [] export let schema = {} export let allowCellEditing = true + export let allowReorder = true const flipDurationMs = 150 let dragDisabled = true @@ -110,6 +111,7 @@ {#each columns as column (column.id)}
diff --git a/packages/builder/src/components/design/settings/controls/ColumnEditor/GridColumnEditor.svelte b/packages/builder/src/components/design/settings/controls/ColumnEditor/GridColumnEditor.svelte new file mode 100644 index 0000000000..291a1b61a8 --- /dev/null +++ b/packages/builder/src/components/design/settings/controls/ColumnEditor/GridColumnEditor.svelte @@ -0,0 +1,10 @@ + + + diff --git a/packages/client/manifest.json b/packages/client/manifest.json index 8e7d2bf21f..59928ae684 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -5248,7 +5248,7 @@ "required": true }, { - "type": "columns/basic", + "type": "columns/grid", "label": "Columns", "key": "columns", "dependsOn": "table"