src/ui/data-source/smart-local-datasource.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | smart-local-datasource,smart-local-data-source |
Properties |
|
Methods |
Inputs |
Outputs |
constructor(datasourceRegistry: DataSourceRegistry, formInstanceService: SmartFormInstanceService, errorHandler: SmartErrorHandlerService, injector: Injector, localDataTypes?: Array
|
||||||||||||||||||
|
Parameters :
|
| after-delete |
Type : AfterEventCallback
|
| async |
Type : boolean
|
| before-delete |
Type : BeforeEventCallback
|
| data |
Type : string | any[]
|
| schema |
Type : string | literal type
|
| smart-auto-fetch |
Type : boolean
|
| smart-auto-select-first-record |
Type : boolean
|
| smart-batch-size |
Type : number
|
| smart-data-source |
Type : string
|
| smart-filter |
Type : any
|
| smart-filter-source |
Type : string
|
| smart-foreign-fields |
Type : string
|
| smart-instance-name |
Type : string
|
| smart-sort |
Type : SortDescriptor[]
|
| onReady |
Type : EventEmitter<SmartLocalDataSource>
|
| setupAsyncData |
setupAsyncData()
|
|
Returns :
void
|
| setupDataSource |
setupDataSource()
|
|
Returns :
void
|
| setupSyncData |
setupSyncData()
|
|
Returns :
void
|
| dataSourceObject |
Type : SmartLocalDataSource
|
| Readonly destroyed$ |
Type : EventEmitter<void>
|
Default value : new EventEmitter()
|