@mui/x-data-grid-pro
Version:
The Pro plan edition of the Data Grid components (MUI X).
10 lines (9 loc) • 603 B
TypeScript
import * as React from 'react';
import { GridStateInitializer } from '@mui/x-data-grid/internals';
import { GridPrivateApiPro } from '../../../models/gridApiPro';
import { DataGridProProcessedProps } from '../../../models/dataGridProProps';
export declare const columnReorderStateInitializer: GridStateInitializer;
/**
* @requires useGridColumns (method)
*/
export declare const useGridColumnReorder: (apiRef: React.MutableRefObject<GridPrivateApiPro>, props: Pick<DataGridProProcessedProps, "disableColumnReorder" | "keepColumnPositionIfDraggedOutside" | "classes" | "onColumnOrderChange">) => void;