@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
17 lines (16 loc) • 811 B
TypeScript
import { RefObject } from '@mui/x-internals/types';
import { GridColDef, GridRowId } from '../../../models';
import { GridApiCommunity } from '../../../models/api/gridApiCommunity';
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;