@univerjs/sheets-ui v0.4.2 • Docs
Function: virtualizeDiscreteRanges()
function virtualizeDiscreteRanges(ranges): {
mapFunc: (row, col) => {
col: number;
row: number;
};
ranges: IRange[];
}
Parameters
Parameter | Type |
---|---|
ranges | IDiscreteRange [] |
Returns
{
mapFunc: (row, col) => {
col: number;
row: number;
};
ranges: IRange[];
}
Name | Type | Defined in |
---|---|---|
mapFunc | (row , col ) => { col : number ; row : number ; } | packages/sheets-ui/src/controllers/utils/range-tools.ts:64 (opens in a new tab) |
ranges | IRange [] | packages/sheets-ui/src/controllers/utils/range-tools.ts:63 (opens in a new tab) |
Defined in
packages/sheets-ui/src/controllers/utils/range-tools.ts:62 (opens in a new tab)