0
我添加自定義列到AG-網格這樣如何在AG-網格改變自定義動態列的單元格的值
this.columnDefs.push({headerName: "Action Status", cellStyle:{"text-align":"center"}});
如何改變在運行時該列的單元格的值?
我想這解決方案,但沒有工作
this.gridOptions.api.forEachNodeAfterFilterAndSort(function (rowNode:RowNode) {
rowNode.columnController.originalColumns[1].colDef.headerCellTemplate="test"
});
this.gridOptions.api.softRefreshView();
this.gridOptions.api.refreshView();