UNPKG

@antv/s2

Version:

effective spreadsheet render core lib

6 lines (5 loc) 473 B
import type { ViewCellHeights } from '../facet/layout/interface'; import type { Node } from '../facet/layout/node'; export declare const getColsForGrid: (colMin: number, colMax: number, colNodes: Node[]) => number[]; export declare const getRowsForGrid: (rowMin: number, rowMax: number, viewCellHeights: ViewCellHeights) => number[]; export declare const getFrozenRowsForGrid: (rowMin: number, rowMax: number, startY: number, viewCellHeights: ViewCellHeights) => number[];