useDataSourceTableController
@firecms/core / useDataSourceTableController
Function: useDataSourceTableController()
Section titled “Function: 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.
Type Parameters
Section titled “Type Parameters”M extends Record<string, any> = any
Parameters
Section titled “Parameters”fullPath
Section titled “fullPath”DataSourceTableControllerProps<M>