amis-rpc-design/node_modules/rc-table/es/utils/fixUtil.d.ts

14 lines
595 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import type { ColumnGroupType, ColumnType, Direction, FixedType, StickyOffsets } from '../interface';
export interface FixedInfo {
fixLeft: number | false;
fixRight: number | false;
lastFixLeft: boolean;
firstFixRight: boolean;
lastFixRight: boolean;
firstFixLeft: boolean;
isSticky: boolean;
}
export declare function getCellFixedInfo<RecordType = any>(colStart: number, colEnd: number, columns: readonly {
fixed?: FixedType;
}[], stickyOffsets: StickyOffsets, direction: Direction, curColumns?: ColumnType<RecordType> | ColumnGroupType<RecordType>): FixedInfo;