API REFERENCE

SyGridColSpanRejection

Fields, allowed values, and APIs that use SyGridColSpanRejection.

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 SyGridColSpanRejection {
  readonly reason:
    | 'invalid-span'
    | 'callback-threw'
    | 'non-deterministic'
    | 'clamped-to-container'
    | 'clamped-to-boundary'
    | 'clamped-to-end';
  readonly colIndex: number;
  readonly requested: number | null;
  readonly applied: number;
  readonly detail: string;
}

Contracts containing this type