AG-Grid React 改变 Cell Flash 的颜色
AG-Grid React Change colour of Cell Flash
我创建了一个 ag 网格,它在行更新时闪烁,但我可以看到默认情况下闪烁的颜色是蓝色。有没有办法改变这种颜色?
此处显示的闪存示例:https://www.ag-grid.com/javascript-grid/flashing-cells/
Each time the call value is changed, the grid adds the CSS class
ag-cell-data-changed for 500ms by default, and then then CSS class
ag-cell-data-changed-animation for 1,000ms by default. The grid
provided themes use this to apply a background color.
If you want to override the flash background color, this has to be
done by overriding the relevant CSS class.
参见文档 here。
我创建了一个 ag 网格,它在行更新时闪烁,但我可以看到默认情况下闪烁的颜色是蓝色。有没有办法改变这种颜色? 此处显示的闪存示例:https://www.ag-grid.com/javascript-grid/flashing-cells/
Each time the call value is changed, the grid adds the CSS class ag-cell-data-changed for 500ms by default, and then then CSS class ag-cell-data-changed-animation for 1,000ms by default. The grid provided themes use this to apply a background color.
If you want to override the flash background color, this has to be done by overriding the relevant CSS class.
参见文档 here。