Skip to main content

Interface: AdditionalColumnDelegate<M, AdditionalKey>

Use this interface for adding additional columns to entity collection views. If you need to do some async loading you can use AsyncPreviewComponent

Type parameters#

NameType
MM: Object = any
AdditionalKeyAdditionalKey: string = string

Properties#

builder#

builder: (__namedParameters: { context: FireCMSContext ; entity: Entity<M> }) => ReactNode

Builder for the content of the cell for this column

Type declaration#

▸ (__namedParameters): ReactNode

Parameters#
NameType
__namedParametersObject
__namedParameters.contextFireCMSContext
__namedParameters.entityEntity<M>
Returns#

ReactNode

Defined in#

models/collections.ts:280


id#

id: AdditionalKey

Id of this column. You can use this id in the properties field of the collection in any order you want

Defined in#

models/collections.ts:265


title#

title: string

Header of this column

Defined in#

models/collections.ts:270


width#

Optional width: number

Width of the generated column in pixels

Defined in#

models/collections.ts:275