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

# IRawExecuteProps

- 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/RawExecute.tsx
- Guides: [RawExecute](https://www.gooddata.ai/docs/gooddata-ui/latest/data-layer/raw-execute/index.md)

Props of the [RawExecute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.rawexecute/index.md) component.

**Signature:**

```typescript
export interface IRawExecuteProps extends IWithLoadingEvents<IRawExecuteProps> 
```
**Extends:** [IWithLoadingEvents](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iwithloadingevents/index.md)&lt;[IRawExecuteProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md)&gt;

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [children](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropschildren) |  | (executionResult: [WithLoadingResult](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.withloadingresult/index.md)) =&gt; ReactElement \| null | Child component to which rendering is delegated. |
| [enableExecutionCancelling?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropsenableexecutioncancelling) |  | 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 |
| [ErrorComponent?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropserrorcomponent) |  | [IExecuteErrorComponent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iexecuteerrorcomponent/index.md) | _(Optional)_ Provide component for rendering of the error state. |
| [execution](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropsexecution) |  | [IPreparedExecution](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-backend-spi/sdk-backend-spi.ipreparedexecution/index.md) | Prepared execution which the executor will drive to completion and will obtain data from. |
| [exportTitle?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropsexporttitle) |  | string | _(Optional)_ Name to use for files exported from this component. |
| [LoadingComponent?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropsloadingcomponent) |  | [IExecuteLoadingComponent](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.iexecuteloadingcomponent/index.md) | _(Optional)_ Provide component for rendering of the loading state. |
| [loadOnMount?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropsloadonmount) |  | boolean | _(Optional)_ Indicates whether the executor should trigger execution and loading right after it is mounted. |
| [window?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.irawexecuteprops/index.md#irawexecutepropswindow) |  | [DataViewWindow](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.dataviewwindow/index.md) | _(Optional)_ Specifies whether [RawExecute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.rawexecute/index.md) should load all data from backend or just a particular window - specified by offset and size of the window. |

## Property details

### IRawExecuteProps.children

Child component to which rendering is delegated.

**Signature:**

```typescript
children: (executionResult: WithLoadingResult) => ReactElement | null;
```

#### Remarks

This is a function that will be called every time state of execution and data loading changes.

### IRawExecuteProps.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;
```

### IRawExecuteProps.ErrorComponent

Provide component for rendering of the error state.

**Signature:**

```typescript
ErrorComponent?: IExecuteErrorComponent;
```

#### Remarks

Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result will be called only with a successful result.

### IRawExecuteProps.execution

Prepared execution which the executor will drive to completion and will obtain data from.

**Signature:**

```typescript
execution: IPreparedExecution;
```

### IRawExecuteProps.exportTitle

Name to use for files exported from this component.

**Signature:**

```typescript
exportTitle?: string;
```

#### Remarks

If you do not specify this, then the 'RawExecute' will be used instead.

Note: it is also possible to pass custom name to the export function that will be sent via the onExportReady callback. That approach is preferred if you need to assign the names in an ad-hoc fashion.

### IRawExecuteProps.LoadingComponent

Provide component for rendering of the loading state.

**Signature:**

```typescript
LoadingComponent?: IExecuteLoadingComponent;
```

#### Remarks

Note: When you provide both LoadingComponent and ErrorComponent, the children function with the execution result will be called only with a successful result.

### IRawExecuteProps.loadOnMount

Indicates whether the executor should trigger execution and loading right after it is mounted.

**Signature:**

```typescript
loadOnMount?: boolean;
```

#### Remarks

If not specified defaults to `true`.

If set to `false`, then the  function needs to be called to trigger the execution and loading.

### IRawExecuteProps.window

Specifies whether [RawExecute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.rawexecute/index.md) should load all data from backend or just a particular window - specified by offset and size of the window.

**Signature:**

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

#### Remarks

If not specified, all data will be loaded.
