如何在ag-Grid中更改选定行和文本的颜色

huangapple go评论152阅读模式
英文:

How to change the color of rows and text in aggrid on selection

问题

我尝试使用这个,但文本中的链接颜色不会变成白色。

英文:

I have a Aggrid and have to change the color of row and text from default blue and black to green and white when we select a row in Aggrid.

I tried making use of this, but the color of links in text does not change to white

如何在ag-Grid中更改选定行和文本的颜色

答案1

得分: 0

.ag-row-selected A {
  color: while;
}
英文:

It is not related to ag-grid. All you need is to add different CSS rule for links inside a selected row, to override link color (and also, probably, :hover, :active, :focus states).

.ag-row-selected A {
  color: while;
}

huangapple
  • 本文由 发表于 2023年2月16日 15:03:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/75468828.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定