Skip to content

useDataSourceTableController

@firecms/core


@firecms/core / useDataSourceTableController

useDataSourceTableController<M, USER>(fullPath): EntityTableController<M>

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

Use this hook to build a controller for the EntityCollectionTable. This controller is bound to data in a path in your specified datasource.

Note that you can build your own hook returning a EntityTableController if you would like to display different data.

M extends Record<string, any> = any

USER extends User = User

DataSourceTableControllerProps<M>

EntityTableController<M>