@mui/x-data-grid-pro
Version:
The Pro plan edition of the MUI X Data Grid components.
7 lines • 729 B
TypeScript
import type { RefObject } from '@mui/x-internals/types';
import type { GridPrivateApiPro } from "../../../models/gridApiPro.js";
import type { DataGridProProcessedProps } from "../../../models/dataGridProProps.js";
export declare const useGridRowsOverridableMethods: (apiRef: RefObject<GridPrivateApiPro>, props: Pick<DataGridProProcessedProps, "processRowUpdate" | "onProcessRowUpdateError" | "setTreeDataPath">) => {
setRowIndex: (rowId: import("@mui/x-data-grid").GridRowId, targetIndex: number) => void;
setRowPosition: (sourceRowId: import("@mui/x-data-grid").GridRowId, targetRowId: import("@mui/x-data-grid").GridRowId, position: import("@mui/x-data-grid/internals").RowReorderDropPosition) => void | Promise<void>;
};