API REFERENCE
SyGridCellSpanInfo
Fields, allowed values, and APIs that use SyGridCellSpanInfo.
Type definition
A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.
export interface SyGridCellSpanInfo {
readonly status: SyGridRowLayoutStatus;
readonly rowIndex: number;
readonly colIndex: number;
readonly colId: string;
readonly origin: SyGridSpanAddress;
readonly rowSpan: number;
readonly colSpan: number;
readonly combination: SyGridSpanCombination;
readonly covered: boolean;
readonly container: 'left' | 'middle' | 'right';
readonly rect: { readonly heightPx: number | null; readonly widthPx: number | null };
readonly rejected: {
readonly row: ReadonlyArray<SyGridRowSpanRejection>;
readonly column: ReadonlyArray<SyGridColSpanRejection>;
};
}APIs using this type
- getCellSpan
Reads horizontal and vertical span information for a cell.