Javascript 如何更改scrollRow上的行颜色

Javascript 如何更改scrollRow上的行颜色,javascript,slickgrid,Javascript,Slickgrid,我有光滑的网格,当我找到搜索结果时,我想更改行背景颜色: protected showMatchItem() { this.searchresult.text(`${this.currentMatchIndex + 1} از ${this.matchIndexes.length}`); this.slickGrid.scrollRowIntoView(this.matchIndexes[this.currentMatchIndex], true);

我有光滑的网格,当我找到搜索结果时,我想更改行背景颜色:

    protected showMatchItem() {
        this.searchresult.text(`${this.currentMatchIndex + 1} از ${this.matchIndexes.length}`);
        this.slickGrid.scrollRowIntoView(this.matchIndexes[this.currentMatchIndex], true);
       
        this.slickGrid.setCellCssStyles("highlight", this.matchIndexes[this.currentMatchIndex]) ;

    }
.亮点{ 背景:黄色
}

这基本上是重复的,这是否回答了您的问题?谢谢,但不,我想,搜索例如“苹果”时,发现这个世界改变行的风格。