API REFERENCE
SyGridReparentResult
Fields, allowed values, and APIs that use SyGridReparentResult.
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.
export type SyGridReparentResult =
| {
readonly status: 'applied';
readonly newParentId: string | null;
readonly moved: ReadonlyArray<SyGridReparentEntry>;
readonly refused: ReadonlyArray<SyGridReparentEntry>;
readonly rowCount: number;
}
| {
readonly status: 'refused';
readonly reason: SyGridReparentRefusalReason;
readonly detail: string;
readonly entries: ReadonlyArray<SyGridReparentEntry>;
};APIs using this type
- reparentRows
Reparents tree rows and reports applied/rejected results. Check cycle, permission, and row-model restrictions.