Interface
The data source info which provides status, count, selected ids, widget queries and more.
Properties
Property | Type | Notes |
---|---|---|
string | This property applies only to | |
The | ||
boolean | This property applies only to a | |
If widgets select records by | ||
string[] | An immutable array of selected | |
number | Whenever the source of data source is changed, the | |
number | Whenever a data source is changed on the client side, the | |
{} | The query parameters widgets applied to the |
gdbVersion
gdbVersion: string
This property applies only to FeatureLayerDataSource
.
The gdbVersion
applies to the gdb version used when querying/adding/updating a feature layer.
For additional information, please see:Query (Feature Service/Layer)
Version Management Service
instanceStatus
Interface PropertyinstanceStatus: DataSourceStatus
The DataSourceInfo
instanceStatus
property indicates the create status of the data source. The instanceStatus
is of type DataSourceStatus
enum.
needRefresh
needRefresh: boolean
This property applies only to a QueriableDataSource
.
For static data, the data does not need refresh.
For auto refresh data, the data requires a refresh on arrival of the refresh interval.
selectOptions
selectOptions: SelectOptions
If widgets select records by dataSource.selectRecords
, the data source will save the original select options here.
The data source will use selectOptions
to query records and save IDs of the query result to selectedIds
. So if widgets only need to highlight the selected records, please just watch changes of selectedIds
.
selectedIds
selectedIds: string[]
An immutable array of selected DataSource
ids.
sourceVersion
sourceVersion: number
Whenever the source of data source is changed, the sourceVersion
is incremented +1. The sourceVersion
is 1 when the data is loaded for the first time.