@mui/x-data-grid
Version:
The Community plan edition of the MUI X Data Grid components.
7 lines • 524 B
TypeScript
import { RefObject } from '@mui/x-internals/types';
import { GridRowId } from "../../../models/gridRows.js";
import { GridPrivateApiCommunity } from "../../../models/api/gridApiCommunity.js";
export declare const useGridRowsOverridableMethods: (apiRef: RefObject<GridPrivateApiCommunity>) => {
setRowIndex: (rowId: GridRowId, targetIndex: number) => void;
setRowPosition: (sourceRowId: GridRowId, targetRowId: GridRowId, position: import("../../../internals/index.js").RowReorderDropPosition) => void | Promise<void>;
};