SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface PickerPanelProps

    Props for PickerPanel.

    interface PickerPanelProps {
        className?: string;
        currentText?: string | null;
        items: readonly PickerItem[];
        measureText?: (text: string) => number;
        minWidth?: number;
        onChoose: (item: PickerItem) => void;
        onClose?: () => void;
        search?: boolean;
        style?: CSSProperties;
        viewport?: Viewport;
        visibleRows?: number;
    }
    Index
    className?: string

    Class for the panel.

    currentText?: string | null

    The cell's current text, highlighted in the list when it is one of the items.

    items: readonly PickerItem[]

    The rows offered, in order.

    measureText?: (text: string) => number

    See PickListProps.measureText.

    minWidth?: number

    The width floor (px): the anchored cell's. The panel is the wider of this and its widest row (Excel's rule), so a long item still reads in full and a short list still covers its cell.

    onChoose: (item: PickerItem) => void

    A row was chosen. Closing is the host's.

    onClose?: () => void

    Escape with no search text to clear (or with no search field): the host closes.

    search?: boolean

    Show a search field above the list, narrowing the rows as typed. The field keeps the focus; the arrows and Enter reach the list from it.

    false
    
    style?: CSSProperties

    The font the rows draw in (the sheet's Normal font), on the panel so the list inherits it.

    viewport?: Viewport

    See PickListProps.viewport.

    visibleRows?: number

    Rows shown before the list scrolls. See PickListProps.visibleRows.