@mui/x-data-grid-pro
Version:
The Pro plan edition of the MUI X Data Grid components.
11 lines • 602 B
text/typescript
import { BaseReorderOperation, RowReorderExecutor } from "../rowReorder/reorderExecutor.mjs";
import type { ReorderOperation, ReorderExecutionContext } from "../rowReorder/types.mjs";
/**
* Handles reordering of items within the same parent group.
*/
export declare class SameParentSwapOperation extends BaseReorderOperation {
readonly operationType = "same-parent-swap";
detectOperation(ctx: ReorderExecutionContext): ReorderOperation | null;
executeOperation(operation: ReorderOperation, ctx: ReorderExecutionContext): void;
}
export declare const treeDataReorderExecutor: RowReorderExecutor;