DataSourceTableControllerProps
@firecms/core / DataSourceTableControllerProps
Type Alias: DataSourceTableControllerProps<M>
Section titled “Type Alias: DataSourceTableControllerProps<M>”DataSourceTableControllerProps<
M> =object
Defined in: components/common/useDataSourceTableController.tsx:21
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Properties
Section titled “Properties”collection
Section titled “collection”collection:
EntityCollection<M>
Defined in: components/common/useDataSourceTableController.tsx:29
The collection that is represented by this config.
entitiesDisplayedFirst?
Section titled “entitiesDisplayedFirst?”
optionalentitiesDisplayedFirst:Entity<M>[]
Defined in: components/common/useDataSourceTableController.tsx:34
List of entities that will be displayed on top, no matter the ordering. This is used for reference fields selection
forceFilter?
Section titled “forceFilter?”
optionalforceFilter:FilterValues<string>
Defined in: components/common/useDataSourceTableController.tsx:41
Force filter to be applied to the table.
fullPath
Section titled “fullPath”fullPath:
string
Defined in: components/common/useDataSourceTableController.tsx:25
Full path where the data of this table is located
lastDeleteTimestamp?
Section titled “lastDeleteTimestamp?”
optionallastDeleteTimestamp:number
Defined in: components/common/useDataSourceTableController.tsx:36
scrollRestoration?
Section titled “scrollRestoration?”
optionalscrollRestoration:ScrollRestorationController
Defined in: components/common/useDataSourceTableController.tsx:43
updateUrl?
Section titled “updateUrl?”
optionalupdateUrl:boolean
Defined in: components/common/useDataSourceTableController.tsx:48
When set to true the filters and sort will be updated in the URL