@visactor/vtable
Version:
canvas table width high performance
20 lines (19 loc) • 507 B
TypeScript
import type { CellAddress } from '../ts-types';
import type { BaseTableAPI } from '../ts-types/base-table';
export declare function fixUpdateRowRange(diffPositions: {
addCellPositions: CellAddress[];
removeCellPositions: CellAddress[];
}, col: number, row: number, table: BaseTableAPI): {
updateCells: {
col: number;
row: number;
}[];
addCells: {
col: number;
row: number;
}[];
removeCells: {
col: number;
row: number;
}[];
};