Skip to content

Bug in theme variables passed to grid instance #840

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().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions