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

# IDashboardLayoutSectionItemMovedToNewSectionPayload

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

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Payload of the [IDashboardLayoutSectionItemMovedToNewSection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsection/index.md) event.

**Signature:**

```typescript
export interface IDashboardLayoutSectionItemMovedToNewSectionPayload 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [fromIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadfromindex) | `readonly` | number | **_(BETA)_** Index within the `fromSection` from where the item was moved. |
| [fromPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadfrompath) | `readonly` | [ILayoutItemPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutitempath/index.md) | **_(BETA)_** Index from where the item was moved. |
| [fromSectionIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadfromsectionindex) | `readonly` | number | **_(BETA)_** Index of section from which the item was moved. |
| [item](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloaditem) | `readonly` | [ExtendedDashboardItem](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.extendeddashboarditem/index.md) | **_(BETA)_** Item that was moved. |
| [originalSectionRemoved](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadoriginalsectionremoved) | `readonly` | boolean | **_(BETA)_** Indicate, that original section has been removed. |
| [toIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadtoindex) | `readonly` | number | **_(BETA)_** Index in `toSection` at which the item was inserted. |
| [toPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadtopath) | `readonly` | [ILayoutItemPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutitempath/index.md) | **_(BETA)_** Index at which the item was inserted. |
| [toSectionIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadtosectionindex) | `readonly` | number | **_(BETA)_** Index of section to which the item was moved. This may be the same as `fromSectionIndex` - which means the move happened within the same section. |

## Property details

### IDashboardLayoutSectionItemMovedToNewSectionPayload.fromIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemMovedToNewSectionPayload.fromPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadfrompath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index within the `fromSection` from where the item was moved.

**Signature:**

```typescript
readonly fromIndex: number;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.fromPath

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Index from where the item was moved.

**Signature:**

```typescript
readonly fromPath: ILayoutItemPath;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.fromSectionIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemMovedToNewSectionPayload.fromPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadfrompath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index of section from which the item was moved.

**Signature:**

```typescript
readonly fromSectionIndex: number;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.item

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Item that was moved.

**Signature:**

```typescript
readonly item: ExtendedDashboardItem;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.originalSectionRemoved

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Indicate, that original section has been removed.

**Signature:**

```typescript
readonly originalSectionRemoved: boolean;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.toIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemMovedToNewSectionPayload.toPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadtopath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index in `toSection` at which the item was inserted.

**Signature:**

```typescript
readonly toIndex: number;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.toPath

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Index at which the item was inserted.

**Signature:**

```typescript
readonly toPath: ILayoutItemPath;
```

### IDashboardLayoutSectionItemMovedToNewSectionPayload.toSectionIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

> Warning: This API is now obsolete.
> 
> The prop will be removed in the next major SDK version. Use [IDashboardLayoutSectionItemMovedToNewSectionPayload.toPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.idashboardlayoutsectionitemmovedtonewsectionpayload/index.md#idashboardlayoutsectionitemmovedtonewsectionpayloadtopath) instead.
> 
> TODO LX-648: Remove property in the next major version.
> 

Index of section to which the item was moved.

This may be the same as `fromSectionIndex` - which means the move happened within the same section.

**Signature:**

```typescript
readonly toSectionIndex: number;
```
