@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
26 lines • 820 B
TypeScript
import { RefObject } from '@mui/x-internals/types';
import { GridColDef, GridRowId } from "../../../models/index.js";
import { GridApiCommunity } from "../../../models/api/gridApiCommunity.js";
export declare const getLeftColumnIndex: ({
currentColIndex,
firstColIndex,
lastColIndex,
isRtl
}: {
currentColIndex: number;
firstColIndex: number;
lastColIndex: number;
isRtl: boolean;
}) => number | null;
export declare const getRightColumnIndex: ({
currentColIndex,
firstColIndex,
lastColIndex,
isRtl
}: {
currentColIndex: number;
firstColIndex: number;
lastColIndex: number;
isRtl: boolean;
}) => number | null;
export declare function findNonRowSpannedCell(apiRef: RefObject<GridApiCommunity>, rowId: GridRowId, field: GridColDef['field'], rowSpanScanDirection: 'up' | 'down'): GridRowId;