From 2a189c4f8e8a4d9e9a10b9e4bb7b89e92960d2e8 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 30 May 2024 11:33:34 +0200 Subject: [PATCH] Readonly cells --- .../frontend-core/src/components/grid/cells/DataCell.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/frontend-core/src/components/grid/cells/DataCell.svelte b/packages/frontend-core/src/components/grid/cells/DataCell.svelte index 0156313d03..30d7e39921 100644 --- a/packages/frontend-core/src/components/grid/cells/DataCell.svelte +++ b/packages/frontend-core/src/components/grid/cells/DataCell.svelte @@ -33,7 +33,8 @@ column.schema.autocolumn || column.schema.disabled || column.schema.type === "formula" || - (!$config.canEditRows && !row._isNewRow) + (!$config.canEditRows && !row._isNewRow) || + column.schema.readonly // Register this cell API if the row is focused $: {