Skip to main content
Version: 3.0.0-beta

Type Alias: DataSourceTableControllerProps<M>

DataSourceTableControllerProps<M>: object

Type Parameters​

• M extends Record<string, any> = any

Type declaration​

collection​

collection: EntityCollection<M>

The collection that is represented by this config.

entitiesDisplayedFirst?​

optional entitiesDisplayedFirst: Entity<M>[]

List of entities that will be displayed on top, no matter the ordering. This is used for reference fields selection

forceFilter?​

optional forceFilter: FilterValues<string>

Force filter to be applied to the table.

fullPath​

fullPath: string

Full path where the data of this table is located

lastDeleteTimestamp?​

optional lastDeleteTimestamp: number

scrollRestoration?​

optional scrollRestoration: ScrollRestorationController

updateUrl?​

optional updateUrl: boolean

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

Defined in​

packages/firecms_core/src/components/common/useDataSourceTableController.tsx:20

Sign up to our newsletter to get the latest news and updates. No spam!