src/core/smart-data-source/interfaces/smart-data-source.config.ts
Properties |
|
| autoFetch |
autoFetch:
|
Type : boolean
|
| Optional |
|
If set to true, the data source will automatically fetch data. |
| autoSelectFirstRecord |
autoSelectFirstRecord:
|
Type : boolean
|
| Optional |
|
If set to true, the data source will automatically select the first record after fetching data. |
| batchSize |
batchSize:
|
Type : number
|
| Optional |
|
The batch size for fetching data. |
| crudHooks |
crudHooks:
|
Type : literal type
|
| Optional |
|
CRUD hooks for customizing data source behavior. |
| deferInitialAutoFetch |
deferInitialAutoFetch:
|
Type : boolean
|
| Optional |
|
If set to true, the initial auto-fetch is coordinated by the component that created the datasource. |
| foreignFieldMap |
foreignFieldMap:
|
Type : string[]
|
| Optional |
|
An array of foreign field mappings. |
| getInitialValues |
getInitialValues:
|
Type : boolean
|
| Optional |
|
If set to true, the data source will get initial values. |
| initialSort |
initialSort:
|
Type : SortDescriptor[] | string
|
| Optional |
|
The initial sort options to be applied to the data source. |
| injector |
injector:
|
Type : Injector
|
|
The Angular Injector. |
| instanceName |
instanceName:
|
Type : string
|
|
The unique name by which the data source will be identified. |
| parentDataSourceName |
parentDataSourceName:
|
Type : string
|
| Optional |
|
The name of the parent data source. |