最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - row highlight on mouse over ag grid react - Stack Overflow

programmeradmin3浏览0评论

I was trying to highlight a row on mouse over in ag grid. I am using React framework for the same. The React cell styling examples are all related to conditionally rendering styles but none of them are focussed with styling with mouse over. The link I followed was link

I have also checked answers over github where they mentioned to use the ag-row-hover class. Where should I be rendering this css class?

I was trying to highlight a row on mouse over in ag grid. I am using React framework for the same. The React cell styling examples are all related to conditionally rendering styles but none of them are focussed with styling with mouse over. The link I followed was link

I have also checked answers over github where they mentioned to use the ag-row-hover class. Where should I be rendering this css class?

Share Improve this question edited Mar 15, 2018 at 16:06 koolhuman 1,65118 silver badges25 bronze badges asked Mar 15, 2018 at 11:01 Abhra DeyAbhra Dey 1111 gold badge2 silver badges9 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 15

Put the below CSS in your local CSS file to override the .ag-row-hover class.

If you are using .ag-theme-balham theme then

.ag-theme-balham .ag-row-hover{

    background-color: #ECF0F1;
}

If you are using .ag-theme-fresh theme then

.ag-theme-fresh .ag-row-hover{

    background-color: #ECF0F1;
}

and so on...

发布评论

评论列表(0)

  1. 暂无评论