How to change extjs grid row color

眉间皱痕 提交于 2019-12-13 05:13:24

问题


I want to change the color of the row in a extjs-3.1 grid from default to "dark red", When i either hover my mouse on row or i select a row , Please help.


回答1:


.x-grid3-row-selected {    
    background-color:red !important;
}

This will change the selected color to red.




回答2:


You can do it by setting the background color of each column's renderer function.



来源:https://stackoverflow.com/questions/3944139/how-to-change-extjs-grid-row-color

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!