NPellet / visualizer

Other
43 stars 24 forks source link

slickgrid background and highlight problem #1111

Open lpatiny opened 5 years ago

lpatiny commented 5 years ago

I have a problem with slickgrid when using the background color options in postrenderer like

if(this.event === 'postRender') {
    let Color=API.cache('ReactionColor');
    if (this.row.item.value && this.row.item.value.status) {
        let status=Color.updateStatus(this.row.item.value.status);
        this.renderOptions = {
            backgroundColor: Color.getColor(Number(status.code))
        }
    }
}

the problem is that in this case the highlight of the mouse hover (or click) is not visible anymore. Is there a way to make the 'over' / 'selected' background priority ?

image