# SyGridCellSpanInfo

Fields, allowed values, and APIs that use SyGridCellSpanInfo.

Canonical: https://grid.syidax.com/docs/types/SyGridCellSpanInfo/

<a id="definition"></a>

## 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.

```typescript
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>;
  };
}
```

<a id="used-by"></a>

## APIs using this type

- [getCellSpan](https://grid.syidax.com/docs/methods/getCellSpan.md) — Reads horizontal and vertical span information for a cell.

<a id="parents"></a>

## Contracts containing this type

- [SyGridImperativeMethods](https://grid.syidax.com/docs/types/SyGridImperativeMethods.md)

<a id="related"></a>

## Related types

- [SyGridRowLayoutStatus](https://grid.syidax.com/docs/types/SyGridRowLayoutStatus.md)
- [SyGridSpanAddress](https://grid.syidax.com/docs/types/SyGridSpanAddress.md)
- [SyGridSpanCombination](https://grid.syidax.com/docs/types/SyGridSpanCombination.md)
- [SyGridRowSpanRejection](https://grid.syidax.com/docs/types/SyGridRowSpanRejection.md)
- [SyGridColSpanRejection](https://grid.syidax.com/docs/types/SyGridColSpanRejection.md)
