【发布时间】:2019-10-03 12:22:01
【问题描述】:
我在 cellstyle 的某些条件下更改单元格的背景颜色
if(//some condition)
{
//highlighted the background color
return { 'background-color': '#8a1538', color: 'white' };
}
//otherwise clear the highlighted color and return default colors for grid
if (params.node.rowIndex % 2 === 0)
return { 'background-color': '#f9f8f8', color: '#333f48' };
else
return { 'background-color': '#fff', color: '#333f48' };
但是在此之后,悬停功能不起作用,悬停行如何工作?
【问题讨论】:
标签: ag-grid-angular