UI_GRID 可扩展网格更改行颜色
UI_GRID Expandable Grid Change Row Colors
如何更改可扩展网格的行颜色?
我将其用于主网格,效果很好。
.ui-grid-row:nth-child(odd) .ui-grid-cell {
background-color: #E3E3E3; !important;
}
.ui-grid-row:nth-child(even) .ui-grid-cell {
background-color: #FFF; !important;
}
但这并没有被子网格拾取。
谢谢
在四处挖掘时发现了这个。
解决了我的问题。
.expandableRow .ui-grid-row:nth-child(odd) .ui-grid-cell {
background-color: #E3E3E3;
}
.expandableRow .ui-grid-row:nth-child(even) .ui-grid-cell {
background-color: #FFF;
}
如何更改可扩展网格的行颜色?
我将其用于主网格,效果很好。
.ui-grid-row:nth-child(odd) .ui-grid-cell {
background-color: #E3E3E3; !important;
}
.ui-grid-row:nth-child(even) .ui-grid-cell {
background-color: #FFF; !important;
}
但这并没有被子网格拾取。
谢谢
在四处挖掘时发现了这个。
解决了我的问题。
.expandableRow .ui-grid-row:nth-child(odd) .ui-grid-cell {
background-color: #E3E3E3;
}
.expandableRow .ui-grid-row:nth-child(even) .ui-grid-cell {
background-color: #FFF;
}