DataSourceComponent

DataSourceComponent

Function
DataSourceComponent(props{ children?: ReactNode | DataRenderFunction; dataSource?: DataSource; errorString?: string; forceRefreshVersion?: number; localId?: string; onAllChildDataSourcesCreated?: (dsDataSource) => void; onCreateDataSourceFailed?: (errany) => void; onDataSourceCreated?: (dsDataSource) => void; onDataSourceInfoChange?: (infoIMDataSourceInfo, preInfo?IMDataSourceInfo) => void; onDataSourceSchemaChange?: (schemaIMDataSourceSchema, prevSchema?IMDataSourceSchema) => void; onDataSourceStatusChange?: (statusDataSourceStatus, preStatus?DataSourceStatus) => void; onQueryRequired?: (queryRequiredInfoQueryRequiredInfo, preQueryRequiredInfo?QueryRequiredInfo) => void; onSelectionChange?: (selectionImmutableArray<string>, preSelection?ImmutableArray<string>) => void; query?: QueryParams; queryCount?: boolean; queryScope?: QueryScope; useDataSource?: ImmutableObjectMixin<UseDataSource> & { dataSourceId: string; dataViewId?: string; fields?: ImmutableArray<string>; mainDataSourceId: string; rootDataSourceId?: string; useFieldsInPopupInfo?: boolean; useFieldsInSymbol?: boolean }; widgetId?: string }, deprecatedLegacyContext?any): ReactNode
Parameters
ParameterTypeNotes
props
{ children?: ReactNode | DataRenderFunction; dataSource?: DataSource; errorString?: string; forceRefreshVersion?: number; localId?: string; onAllChildDataSourcesCreated?: (dsDataSource) => void; onCreateDataSourceFailed?: (errany) => void; onDataSourceCreated?: (dsDataSource) => void; onDataSourceInfoChange?: (infoIMDataSourceInfo, preInfo?IMDataSourceInfo) => void; onDataSourceSchemaChange?: (schemaIMDataSourceSchema, prevSchema?IMDataSourceSchema) => void; onDataSourceStatusChange?: (statusDataSourceStatus, preStatus?DataSourceStatus) => void; onQueryRequired?: (queryRequiredInfoQueryRequiredInfo, preQueryRequiredInfo?QueryRequiredInfo) => void; onSelectionChange?: (selectionImmutableArray<string>, preSelection?ImmutableArray<string>) => void; query?: QueryParams; queryCount?: boolean; queryScope?: QueryScope; useDataSource?: ImmutableObjectMixin<UseDataSource> & { dataSourceId: string; dataViewId?: string; fields?: ImmutableArray<string>; mainDataSourceId: string; rootDataSourceId?: string; useFieldsInPopupInfo?: boolean; useFieldsInSymbol?: boolean }; widgetId?: string }
deprecatedLegacyContext
any
Returns 
ReactNode

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.