diff --git a/packages/builder/src/components/backend/DataTable/TableDataTable.svelte b/packages/builder/src/components/backend/DataTable/TableDataTable.svelte
index 5fee849afb..22deacbe03 100644
--- a/packages/builder/src/components/backend/DataTable/TableDataTable.svelte
+++ b/packages/builder/src/components/backend/DataTable/TableDataTable.svelte
@@ -53,6 +53,11 @@
await datasources.fetch()
}
}
+
+ const refreshDefinitions = async () => {
+ await tables.fetch()
+ await datasources.fetch()
+ }
@@ -66,6 +71,7 @@
schemaOverrides={isUsersTable ? userSchemaOverrides : null}
showAvatars={false}
on:updatedatasource={handleGridTableUpdate}
+ on:refreshdefinitions={refreshDefinitions}
>
{#if isUsersTable && $store.features.disableUserMetadata}
diff --git a/packages/frontend-core/src/components/grid/cells/HeaderCell.svelte b/packages/frontend-core/src/components/grid/cells/HeaderCell.svelte
index 01c759a15c..9b05f9ef79 100644
--- a/packages/frontend-core/src/components/grid/cells/HeaderCell.svelte
+++ b/packages/frontend-core/src/components/grid/cells/HeaderCell.svelte
@@ -1,9 +1,17 @@
+
+
+
+