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();