> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IUseExecutionDataViewConfig

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/execution/useExecutionDataView.ts

Configuration for [useExecutionDataView()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.useexecutiondataview/index.md) hook. See also [UseExecutionDataViewCallbacks](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.useexecutiondataviewcallbacks/index.md).

**Signature:**

```typescript
export interface IUseExecutionDataViewConfig 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [backend?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iuseexecutiondataviewconfig/index.md#iuseexecutiondataviewconfigbackend) |  | [IAnalyticalBackend](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.ianalyticalbackend/index.md) | _(Optional)_ Backend to work with. |
| [enableExecutionCancelling?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iuseexecutiondataviewconfig/index.md#iuseexecutiondataviewconfigenableexecutioncancelling) |  | boolean | _(Optional)_ Optionally enable real execution cancellation. This means that if the execution request is not yet finished and the execution changes, the request will be cancelled and the new execution will be started. Default: false |
| [execution?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iuseexecutiondataviewconfig/index.md#iuseexecutiondataviewconfigexecution) |  | [IPreparedExecution](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.ipreparedexecution/index.md) \| [IExecutionConfiguration](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iexecutionconfiguration/index.md) | _(Optional)_ Prepared execution, or execution configuration for which you want to get the data view. |
| [window?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iuseexecutiondataviewconfig/index.md#iuseexecutiondataviewconfigwindow) |  | [DataViewWindow](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.dataviewwindow/index.md) | _(Optional)_ You can define only a specific "window" of data to load. |
| [workspace?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iuseexecutiondataviewconfig/index.md#iuseexecutiondataviewconfigworkspace) |  | string | _(Optional)_ Workspace where execution should be executed. |

## Property details

### IUseExecutionDataViewConfig.backend

Backend to work with.

**Signature:**

```typescript
backend?: IAnalyticalBackend;
```

#### Remarks

Note: the backend must come either from this property or from BackendContext. If you do not specify backend here, then the executor MUST be rendered within an existing BackendContext.

### IUseExecutionDataViewConfig.enableExecutionCancelling

Optionally enable real execution cancellation.

This means that if the execution request is not yet finished and the execution changes, the request will be cancelled and the new execution will be started.

Default: false

**Signature:**

```typescript
enableExecutionCancelling?: boolean;
```

### IUseExecutionDataViewConfig.execution

Prepared execution, or execution configuration for which you want to get the data view.

**Signature:**

```typescript
execution?: IPreparedExecution | IExecutionConfiguration;
```

### IUseExecutionDataViewConfig.window

You can define only a specific "window" of data to load.

**Signature:**

```typescript
window?: DataViewWindow;
```

#### Remarks

This is useful if you want to page data.

### IUseExecutionDataViewConfig.workspace

Workspace where execution should be executed.

**Signature:**

```typescript
workspace?: string;
```

#### Remarks

Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify workspace here, then the executor MUST be rendered within an existing WorkspaceContext.
