diff --git a/packages/frontend-core/src/components/grid/stores/config.ts b/packages/frontend-core/src/components/grid/stores/config.ts index b7b044b095..d6050d1a14 100644 --- a/packages/frontend-core/src/components/grid/stores/config.ts +++ b/packages/frontend-core/src/components/grid/stores/config.ts @@ -9,7 +9,15 @@ interface ConfigStore { initialSortOrder: any initialFilter: any fixedRowHeight: Readable - schemaOverrides: any + schemaOverrides: Readable< + Record< + string, + { + displayName?: string + disabled?: boolean + } + > + > notifySuccess: any notifyError: any rowConditions: any diff --git a/packages/types/src/ui/stores/grid/table.ts b/packages/types/src/ui/stores/grid/table.ts index a5a13d5fa2..e69f9fd38f 100644 --- a/packages/types/src/ui/stores/grid/table.ts +++ b/packages/types/src/ui/stores/grid/table.ts @@ -27,6 +27,7 @@ export type UIFieldSchema = FieldSchema & related?: { field: string; subField: string } columns?: Record cellRenderType?: string + disabled?: boolean } interface UIRelationSchemaField extends RelationSchemaField {