API Reference
@univerjs
@univerjs/sheets-ui
functions
Geteditingcustomrangeposition

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/services/utils/doc-skeleton-util.ts:244 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.