API REFERENCE

reparentRows

Reparents tree rows and reports applied/rejected results. Check cycle, permission, and row-model restrictions.

What does this API do?

Reparents tree rows and reports applied/rejected results. Check cycle, permission, and row-model restrictions.

API for Pro features: Tree data

Exact input and result types

typescript
reparentRows(request: SyGridReparentRequest): Promise<SyGridReparentResult>
ArgumentsRequiredType
requestRequiredSyGridReparentRequest

The return type is Promise<SyGridReparentResult>.

Usage flow

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

Read related types

Feature explanations and examples