You can return an angular component instead of just plain text. You can do this using cellRendererFramework
that you can access from the column definition.
{
headerName: "CLIENT",
field: "client",
cellRendererFramework: (params) => {
return <AgGridCellRenderer>
</AgGridCellRenderer>
},
},
the params
argument has all the agRid stuff like ′apiand
columApi` as well as the original cell value as well as the entire row data.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…