File

src/ui/data-source/smart-local-datasource.component.ts

Implements

OnChanges OnDestroy

Metadata

Index

Properties
Methods
Inputs
Outputs

Constructor

constructor(datasourceRegistry: DataSourceRegistry, formInstanceService: SmartFormInstanceService, errorHandler: SmartErrorHandlerService, injector: Injector, localDataTypes?: Array>)
Parameters :
Name Type Optional
datasourceRegistry DataSourceRegistry No
formInstanceService SmartFormInstanceService No
errorHandler SmartErrorHandlerService No
injector Injector No
localDataTypes Array<Array<literal type>> Yes

Inputs

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[]

Outputs

onReady
Type : EventEmitter<SmartLocalDataSource>

Methods

setupAsyncData
setupAsyncData()
Returns : void
setupDataSource
setupDataSource()
Returns : void
setupSyncData
setupSyncData()
Returns : void

Properties

dataSourceObject
Type : SmartLocalDataSource
Readonly destroyed$
Type : EventEmitter<void>
Default value : new EventEmitter()
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""