# SyGridReparentRequest

Fields, allowed values, and APIs that use SyGridReparentRequest.

Canonical: https://grid.syidax.com/docs/types/SyGridReparentRequest/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export interface SyGridReparentRequest {
  readonly nodeIds: ReadonlyArray<string>;
  readonly newParentId: string | null;
  readonly childIndex?: number;
  readonly atomicity?: SyGridReparentAtomicity;
  readonly maxDepth?: number;
  readonly allowFilteredParent?: boolean;
  readonly expectedRevisions?: Readonly<Record<string, number>>;
}
```

<a id="used-by"></a>

## APIs using this type

- [reparentRows](https://grid.syidax.com/docs/methods/reparentRows.md) — Reparents tree rows and reports applied/rejected results. Check cycle, permission, and row-model restrictions.

<a id="parents"></a>

## Contracts containing this type

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

<a id="related"></a>

## Related types

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