@univerjssheets-uiindexfunctionsVirtualizediscreteranges

@univerjs/sheets-ui v0.5.4


Function: virtualizeDiscreteRanges()

function virtualizeDiscreteRanges(ranges): {
  mapFunc: (row, col) => {
     col: number;
     row: number;
    };
  ranges: IRange[];
}

Defined in: submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:62

Parameters

ParameterType
rangesIDiscreteRange[]

Returns

{
  mapFunc: (row, col) => {
     col: number;
     row: number;
    };
  ranges: IRange[];
}
NameTypeDefined in
mapFunc(row, col) => { col: number; row: number; }submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:64
rangesIRange[]submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:63