refreshInsightWidget()
Home > @gooddata/sdk-ui-dashboard > refreshInsightWidget
refreshInsightWidget() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates the RefreshInsightWidget command. Dispatching this command will result in re-calculation of the widget's insight and re-render.
Signature:
export declare function refreshInsightWidget(ref: ObjRef, correlationId?: string): IRefreshInsightWidget;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
ref |
reference to the Insight widget to refresh | |
|
correlationId |
string |
(Optional) specify correlation id to use for this command. this will be included in all events that will be emitted during the command processing |
Returns: