fin-hypergrid / fin-hypergrid/core

Bug in theme variables passed to grid instance

Open
#840 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
907
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Hi all,

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

Here are the one I tested:

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.