# registerDropZone

Registers a drop area for receiving rows and returns the registration result.

Canonical: https://grid.syidax.com/docs/methods/registerDropZone/

<a id="meaning"></a>

## What does this API do?

Registers a drop area for receiving rows and returns the registration result.

<a id="contract"></a>

## Exact input and result types

```typescript
registerDropZone(input: SyGridDropZoneInput): Promise<SyGridDropZoneRegistration>
```

| Arguments | Required | Type |
| --- | --- | --- |
| input | Required | SyGridDropZoneInput |

The return type is `Promise<SyGridDropZoneRegistration>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.registerDropZone(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

- [SyGridDropZoneInput](https://grid.syidax.com/docs/types/SyGridDropZoneInput.md)
- [SyGridDropZoneRegistration](https://grid.syidax.com/docs/types/SyGridDropZoneRegistration.md)

<a id="recipes"></a>

## Feature explanations and examples

- [Row dragging](https://grid.syidax.com/docs/features/row-drag.md) — Managed row dragging applies user-defined order to Grid data. Manual reordering can conflict with display order determined by sorting.
