Skip to content

EntityCollectionTableProps

@firecms/core


@firecms/core / EntityCollectionTableProps

Type Alias: EntityCollectionTableProps<M, USER>

Section titled “Type Alias: EntityCollectionTableProps<M, USER>”

EntityCollectionTableProps<M, USER> = object

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:18

M extends Record<string, any>

USER extends User = User

optional actions: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:104

Additional component that renders actions such as buttons in the collection toolbar, displayed on the right side


optional actionsStart: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:44

Additional component that renders actions such as buttons in the collection toolbar, displayed on the left side


optional AddColumnComponent: React.ComponentType

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:141


optional additionalFields: AdditionalFieldDelegate<M, USER>[]

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:121


optional AdditionalHeaderWidget: React.ComponentType<{ onHover: boolean; property: ResolvedProperty; propertyKey: string; }>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:135


optional additionalIDHeaderWidget: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:143


optional className: string

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:21


optional defaultSize: CollectionSize

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:123


optional displayedColumnIds: PropertyColumnConfig[]

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:113


optional emptyComponent: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:145


enablePopupIcon: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:153


optional endAdornment: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:133


optional filterable: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:129


optional forceFilter: FilterValues<Extract<keyof M, string>>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:115


optional getIdColumnWidth: () => number

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:147

number


optional getPropertyFor: (props) => ResolvedProperties<M>[string]

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:127

GetPropertyForProps<M>

ResolvedProperties<M>[string]


optional highlightedEntities: Entity<M>[]

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:33

List of entities that will be displayed as selected;


optional hoverRow: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:98

Should apply a different style to a row when hovering


optional initialScroll: number

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:78

Initial scroll position


optional inlineEditing: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:119


optional onScroll: (props) => void

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:84

Callback when the table is scrolled

"forward" | "backward"

number

boolean

void


optional onTextSearchClick: () => void

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:149

void


optional onValueChange: OnCellValueChange<any, M>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:49

Callback when a cell value changes.


optional openEntityMode: "side_panel" | "full_screen"

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:155


properties: ResolvedProperties<M>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:125


selectionController: SelectionController<M>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:28

Display these entities as selected


optional sortable: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:131


optional style: React.CSSProperties

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:23


tableController: EntityTableController<M>

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:111

Controller holding the logic for the table useDataSourceTableController EntityTableController


optional tableRowActionsBuilder: (params) => React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:58

Builder for creating the buttons in each row

Entity<M>

boolean

CollectionSize

number

React.ReactNode


optional textSearchEnabled: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:117


optional textSearchLoading: boolean

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:151


optional title: React.ReactNode

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:38

Override the title in the toolbar


optional uniqueFieldValidator: UniqueFieldValidator

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:51

optional onColumnResize(params): void

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:73

Callback when a column is resized

OnColumnResizeParams

void


optional onEntityClick(entity): void

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:68

Callback when anywhere on the table is clicked

Entity<M>

void


optional onSizeChanged(size): void

Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:93

Callback when the selected size of the table is changed

CollectionSize

void