forResult()
Home > @gooddata/sdk-ui > DataViewFacade > forResult
DataViewFacade.forResult() method
Creates a DataViewFacade with provided execution result.
Signature:
static forResult(result: IExecutionResult): DataViewFacade;
Parameters
Parameter | Type | Description |
---|---|---|
result | IExecutionResult | instance of execution result to create the facade for |
Returns:
Remarks
Only use this when execution result is unable to load data and some form of DataViewFacade is still needed. Beware that the calculated data view is empty after the creation. Only execution definition and result is defined.