Skip to content

DataSourceTableControllerProps

@firecms/core


@firecms/core / DataSourceTableControllerProps

Type Alias: DataSourceTableControllerProps<M>

Section titled “Type Alias: DataSourceTableControllerProps<M>”

DataSourceTableControllerProps<M> = object

Defined in: components/common/useDataSourceTableController.tsx:21

M extends Record<string, any> = any

collection: EntityCollection<M>

Defined in: components/common/useDataSourceTableController.tsx:29

The collection that is represented by this config.


optional entitiesDisplayedFirst: 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


optional forceFilter: FilterValues<string>

Defined in: components/common/useDataSourceTableController.tsx:41

Force filter to be applied to the table.


fullPath: string

Defined in: components/common/useDataSourceTableController.tsx:25

Full path where the data of this table is located


optional lastDeleteTimestamp: number

Defined in: components/common/useDataSourceTableController.tsx:36


optional scrollRestoration: ScrollRestorationController

Defined in: components/common/useDataSourceTableController.tsx:43


optional updateUrl: boolean

Defined in: components/common/useDataSourceTableController.tsx:48

When set to true the filters and sort will be updated in the URL