@visactor/vtable
Version:
canvas table width high performance
17 lines (16 loc) • 877 B
TypeScript
import type { ListTable } from '../../ListTable';
import type { CellAddress } from '../../ts-types';
import type { BaseTableAPI } from '../../ts-types/base-table';
export declare function adjustMoveHeaderTarget(source: CellAddress, target: CellAddress, table: BaseTableAPI): CellAddress;
export declare function adjustWidthResizedColMap(moveContext: {
sourceIndex: number;
targetIndex: number;
sourceSize: number;
}, table: BaseTableAPI): void;
export declare function adjustHeightResizedRowMap(moveContext: {
sourceIndex: number;
targetIndex: number;
sourceSize: number;
}, table: BaseTableAPI): void;
export declare function adjustHeightResizedRowMapWithAddRecordIndex(table: ListTable, recordIndex: number, records: any[]): void;
export declare function adjustHeightResizedRowMapWithDeleteRecordIndex(table: ListTable, recordIndexs: number[]): void;