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(input: IUseInsightWidgetDataView & UseInsightWidgetInsightDataViewCallbacks): UseCancelablePromiseState<DataViewFacade, GoodDataSdkError>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ insightWidget, onCancel, onError, onLoading, onPending, onSuccess } |
(not declared) | |
|
input |
IUseInsightWidgetDataView & UseInsightWidgetInsightDataViewCallbacks |
Returns: