useInsightWidgetDataView()
Home > @gooddata/sdk-ui-dashboard > useInsightWidgetDataView
useInsightWidgetDataView() function
This hook provides an easy way to read a data view from insight widget.
Signature:
export declare function useInsightWidgetDataView(config: IUseInsightWidgetDataView & UseInsightWidgetInsightDataViewCallbacks): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
Parameters
Parameter |
Type |
Description |
---|---|---|
config |
IUseInsightWidgetDataView & UseInsightWidgetInsightDataViewCallbacks |
configuration of the hook |
Returns: