SheetXL - v0.8.0-beta.25
    Preparing search index...

    Interface ICellControlKind

    What a control type does to the cells it covers: which values it draws.

    The SDK half of a control type. How it looks and how it responds to the pointer and keys belong to the UI, which registers its own renderer under the same type.

    interface ICellControlKind {
        label?: string;
        type: string;
        accepts(value: Scalar): boolean;
    }
    Index
    label?: string

    The kind's name where a UI lists the kinds that can be inserted, such as 'Rating'. Plain text; the built-in checkbox takes its name from the command catalog instead.

    type: string

    The type this kind is registered under, such as 'checkbox'.

    • Whether the control draws a cell holding value. Any other value draws as text.

      Parameters

      • value: Scalar

      Returns boolean