EntityCollectionTableProps
@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
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>
Properties
Section titled “Properties”actions?
Section titled “actions?”
optionalactions: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
actionsStart?
Section titled “actionsStart?”
optionalactionsStart: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
AddColumnComponent?
Section titled “AddColumnComponent?”
optionalAddColumnComponent:React.ComponentType
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:141
additionalFields?
Section titled “additionalFields?”
optionaladditionalFields:AdditionalFieldDelegate<M,USER>[]
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:121
AdditionalHeaderWidget?
Section titled “AdditionalHeaderWidget?”
optionalAdditionalHeaderWidget:React.ComponentType<{onHover:boolean;property:ResolvedProperty;propertyKey:string; }>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:135
additionalIDHeaderWidget?
Section titled “additionalIDHeaderWidget?”
optionaladditionalIDHeaderWidget:React.ReactNode
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:143
className?
Section titled “className?”
optionalclassName:string
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:21
defaultSize?
Section titled “defaultSize?”
optionaldefaultSize:CollectionSize
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:123
displayedColumnIds?
Section titled “displayedColumnIds?”
optionaldisplayedColumnIds:PropertyColumnConfig[]
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:113
emptyComponent?
Section titled “emptyComponent?”
optionalemptyComponent:React.ReactNode
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:145
enablePopupIcon
Section titled “enablePopupIcon”enablePopupIcon:
boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:153
endAdornment?
Section titled “endAdornment?”
optionalendAdornment:React.ReactNode
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:133
filterable?
Section titled “filterable?”
optionalfilterable:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:129
forceFilter?
Section titled “forceFilter?”
optionalforceFilter:FilterValues<Extract<keyofM,string>>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:115
getIdColumnWidth()?
Section titled “getIdColumnWidth()?”
optionalgetIdColumnWidth: () =>number
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:147
Returns
Section titled “Returns”number
getPropertyFor()?
Section titled “getPropertyFor()?”
optionalgetPropertyFor: (props) =>ResolvedProperties<M>[string]
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:127
Parameters
Section titled “Parameters”GetPropertyForProps<M>
Returns
Section titled “Returns”ResolvedProperties<M>[string]
highlightedEntities?
Section titled “highlightedEntities?”
optionalhighlightedEntities:Entity<M>[]
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:33
List of entities that will be displayed as selected;
hoverRow?
Section titled “hoverRow?”
optionalhoverRow:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:98
Should apply a different style to a row when hovering
initialScroll?
Section titled “initialScroll?”
optionalinitialScroll:number
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:78
Initial scroll position
inlineEditing?
Section titled “inlineEditing?”
optionalinlineEditing:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:119
onScroll()?
Section titled “onScroll()?”
optionalonScroll: (props) =>void
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:84
Callback when the table is scrolled
Parameters
Section titled “Parameters”scrollDirection
Section titled “scrollDirection”"forward" | "backward"
scrollOffset
Section titled “scrollOffset”number
scrollUpdateWasRequested
Section titled “scrollUpdateWasRequested”boolean
Returns
Section titled “Returns”void
onTextSearchClick()?
Section titled “onTextSearchClick()?”
optionalonTextSearchClick: () =>void
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:149
Returns
Section titled “Returns”void
onValueChange?
Section titled “onValueChange?”
optionalonValueChange:OnCellValueChange<any,M>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:49
Callback when a cell value changes.
openEntityMode?
Section titled “openEntityMode?”
optionalopenEntityMode:"side_panel"|"full_screen"
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:155
properties
Section titled “properties”properties:
ResolvedProperties<M>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:125
selectionController
Section titled “selectionController”selectionController:
SelectionController<M>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:28
Display these entities as selected
sortable?
Section titled “sortable?”
optionalsortable:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:131
style?
Section titled “style?”
optionalstyle:React.CSSProperties
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:23
tableController
Section titled “tableController”tableController:
EntityTableController<M>
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:111
Controller holding the logic for the table useDataSourceTableController EntityTableController
tableRowActionsBuilder()?
Section titled “tableRowActionsBuilder()?”
optionaltableRowActionsBuilder: (params) =>React.ReactNode
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:58
Builder for creating the buttons in each row
Parameters
Section titled “Parameters”params
Section titled “params”entity
Section titled “entity”Entity<M>
frozen?
Section titled “frozen?”boolean
number
Returns
Section titled “Returns”React.ReactNode
textSearchEnabled?
Section titled “textSearchEnabled?”
optionaltextSearchEnabled:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:117
textSearchLoading?
Section titled “textSearchLoading?”
optionaltextSearchLoading:boolean
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:151
title?
Section titled “title?”
optionaltitle:React.ReactNode
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:38
Override the title in the toolbar
uniqueFieldValidator?
Section titled “uniqueFieldValidator?”
optionaluniqueFieldValidator:UniqueFieldValidator
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:51
Methods
Section titled “Methods”onColumnResize()?
Section titled “onColumnResize()?”
optionalonColumnResize(params):void
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:73
Callback when a column is resized
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”void
onEntityClick()?
Section titled “onEntityClick()?”
optionalonEntityClick(entity):void
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:68
Callback when anywhere on the table is clicked
Parameters
Section titled “Parameters”entity
Section titled “entity”Entity<M>
Returns
Section titled “Returns”void
onSizeChanged()?
Section titled “onSizeChanged()?”
optionalonSizeChanged(size):void
Defined in: components/EntityCollectionTable/EntityCollectionTableProps.tsx:93
Callback when the selected size of the table is changed
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void