@univerjssheets-uiindexfunctionsGeteditingcustomrangeposition

@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: getEditingCustomRangePosition()

function getEditingCustomRangePosition(
   injector, 
   unitId, 
   subUnitId, 
   row, 
   col, 
   rangeId): null | {
  customRange: ICustomRange<Record<string, any>>;
  label: string;
  rects: undefined | {
     bottom: number;
     left: number;
     right: number;
     top: number;
    }[];
}

Parameters

ParameterType
injectorInjector
unitIdstring
subUnitIdstring
rownumber
colnumber
rangeIdstring

Returns

null | { customRange: ICustomRange<Record<string, any>>; label: string; rects: undefined | { bottom: number; left: number; right: number; top: number; }[]; }

Defined in

submodules/univer/packages/sheets-ui/src/services/utils/doc-skeleton-util.ts:244