API REFERENCE
SyGridColSpanParams
Fields, allowed values, and APIs that use SyGridColSpanParams.
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 SyGridColSpanParams<TData = GridData> {
readonly row: TData;
readonly rowIndex: number;
readonly column: ColumnDef<TData>;
readonly colIndex: number;
readonly container: 'left' | 'middle' | 'right';
}APIs using this type
- colSpan
Returns the horizontal column span from cell context. Account for pinned boundaries and hidden columns.