NoxGrid Web API
    Preparing search index...

    Interface BookSheetOptions

    Grid options.

    interface BookSheetOptions {
        allowColumnResize?: boolean;
        allowEdit?: boolean;
        allowFilter?: boolean;
        allowFind?: boolean;
        allowSort?: boolean;
        allowUndo?: boolean;
        allowUserFormulas?: boolean;
        alternatingRows?: boolean;
        autoHeight?: boolean;
        captureFind?: "grid" | "page";
        colorScheme?: ColorSchemeName;
        columnHeadersVisible?: boolean;
        columns?: ColumnOptions[];
        data?: Record<string, unknown>[];
        emptyMessage?: string;
        fontFamily?: string;
        fontSize?: number;
        footerVisible?: boolean;
        frozenColumns?: number;
        frozenRows?: number;
        headerHeight?: number;
        horizontalGridLines?: boolean;
        hoverRow?: boolean;
        initialSelection?: "none" | "first";
        locale?: "ko" | "en";
        maxHeight?: number;
        name: string;
        newRowData?: () => Record<string, unknown>;
        pasteAddsRows?: boolean;
        readOnly?: boolean;
        rowCount?: number;
        rowHeadersVisible?: boolean;
        rowHeaderWidth?: number;
        rowHeight?: number;
        rowKey?: string;
        selectionKeepsBackColors?: boolean;
        selectionMode?: "cell" | "fullRow";
        selectionOverridesCellColors?: boolean;
        sheetName?: string;
        showCellToolTips?: boolean;
        showValidationErrors?: boolean;
        sortCycle?: "ascDesc" | "ascDescNone";
        undoLimit?: number;
        verticalGridLines?: boolean;
    }

    Hierarchy (View Summary)

    Index
    allowColumnResize?: boolean
    allowEdit?: boolean
    allowFilter?: boolean
    allowFind?: boolean

    Find and replace via Ctrl+F, Ctrl+H, F3 (default true).

    allowSort?: boolean
    allowUndo?: boolean

    Ctrl+Z / Ctrl+Y undo (default true). False for read-only lists and screens that stay open all day (no history is kept).

    allowUserFormulas?: boolean

    Lets users type or paste formulas starting with =.

    alternatingRows?: boolean
    autoHeight?: boolean

    The grid's height follows its rows (header, rows and footer), so the page scrolls instead of the grid. Use it for small tables such as order lines. The container then needs no fixed height. Default false.

    captureFind?: "grid" | "page"

    Where Ctrl+F opens the grid's find dialog. 'grid' (default): when the grid has focus. 'page': anywhere on the page while this is the only grid on screen (the browser's own find cannot search a canvas). It takes Ctrl+F away from the browser, so it is off by default.

    colorScheme?: ColorSchemeName

    Color scheme. Also sets the default for vertical grid lines (off for modern schemes) unless verticalGridLines is set.

    columnHeadersVisible?: boolean
    columns?: ColumnOptions[]
    data?: Record<string, unknown>[]

    Binds an array of objects (values are read and written via each column's field).

    emptyMessage?: string

    Text drawn in the middle of the grid when no rows are shown (no data, or everything filtered out), e.g. 'No results'.

    fontFamily?: string
    fontSize?: number
    footerVisible?: boolean

    Shows the footer (summary) row fixed at the bottom (set footer on the columns).

    frozenColumns?: number
    frozenRows?: number
    headerHeight?: number
    horizontalGridLines?: boolean
    hoverRow?: boolean

    Highlights the row under the mouse (color: setColors({ hoverBack })). Default false.

    initialSelection?: "none" | "first"

    'none': nothing is shown as selected until the user clicks a cell or row or uses the keyboard in the grid (for lists; clicking a header to sort does not show it). Default 'first' (the first cell).

    locale?: "ko" | "en"

    UI text language: 'en' (default) or 'ko' (applies to all grids).

    maxHeight?: number

    With autoHeight: the grid grows up to this height (px) and scrolls inside beyond it. 0 = no limit.

    name: string
    newRowData?: () => Record<string, unknown>

    Bound data: the object for each new row (insertRows, pasteAddsRows), e.g. () => ({ qty: 1, kind: 'equipment' }). Default {}.

    pasteAddsRows?: boolean

    Pasting more lines than there are rows below adds rows at the end (same undo step; bound rows get newRowData()). Default false: the extra lines are dropped and the pasted event reports droppedRows.

    readOnly?: boolean

    Turns off every user change at once (typing, paste, Delete clearing, replace). Selecting, copying and find still work.

    rowCount?: number
    rowHeadersVisible?: boolean
    rowHeaderWidth?: number
    rowHeight?: number
    rowKey?: string

    Bound data: the field that identifies a row (like the desktop RowKeyMember). indexOfKey(key) finds the row. Unbound grids set keys with setRowKey(row, key).

    selectionKeepsBackColors?: boolean

    Selected cells keep the background set by the cell, row, column or a conditional format (and its text color); only cells without their own background use selBack. The selection is still outlined (color: setColors({ selBorder })). Default false.

    selectionMode?: "cell" | "fullRow"

    'cell' (default) selects cells; 'fullRow' selects whole rows (like the desktop FullRowSelect): clicks select the row, copying copies rows.

    selectionOverridesCellColors?: boolean

    Selected cells use the selection text color instead of colors set on the cell, row, column or by conditional formats. Default false: those colors are kept on selected rows (like the desktop SelectionOverridesCellColors).

    sheetName?: string

    Sheet name used to refer to this grid in formulas.

    showCellToolTips?: boolean

    Shows the whole text in a tooltip when the mouse is over a cell or column header whose text is cut off. Default false.

    showValidationErrors?: boolean

    Show validation errors.

    sortCycle?: "ascDesc" | "ascDescNone"

    What clicking a header cycles through: 'ascDesc' (default) or 'ascDescNone' (the third click removes the sort and restores the bound array's order).

    undoLimit?: number

    Number of undo steps.

    verticalGridLines?: boolean

    Vertical lines between body cells. When set, changing colorScheme keeps it.