如何在ag-grid的新列中显示聚合值?

时间:2017-06-27 13:03:47

标签: javascript jquery aggregate ag-grid

我需要显示" Gold"的汇总值(最大值)。在ag-grid的单独列中。这是我的ag-grid Doc

我需要显示" Gold"的汇总值(最大值)。为enter image description here

我使用 aggFunc ,但它无法正常工作。

{ headerName: "Gold", field: "gold", aggFunc: "max", enableValue: true, width: 100 }

但这不起作用。我需要在执行时显示Gold的聚合值。

这是代码链接enter image description here

提前致谢

0 个答案:

没有答案