(ag-Grid)如何给选中的多个行设置背景色

(ag-Grid)How to put the background color to multiple selected rows

如何将背景颜色添加到 ag-Grid 中的多个选定行。

它在 tutorial 的示例中起作用,但即使我检查 Plunker 中的代码也无法弄清楚....

Plunker

enter code here

使用 ag-row-selected class,此 class 应用于所有选定的行。