Skip to content

Bug in theme variables passed to grid instance #840

@nicoladaniello

Description

@nicoladaniello

Hi all,

Some theme variables do not work when passed by grid.applyTheme() on a grid instance.

Here are the one I tested:

HyperGrid.applyTheme({
    hoverCellHighlight: {
        enabled: true,
        backgroundColor: "red", // $purple-100
    },
    hoverColumnHighlight: {
        enabled: false,
        backgroundColor: "blue",
    },
    hoverRowHighlight: {
        enabled: false,
        backgroundColor: "green",
    },
    vScrollbarClassPrefix: "scroll",
    hScrollbarClassPrefix: "scroll",
});

On the other hand they do work when passed as a global theme with Hypergrid.applyTheme().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions