введите описание изображения здесь Дайте объект icons в gridOptions, он будет работать
public gridOptions = {
rowSelection: 'multiple',
groupSelectsChildren: true,
groupSelectsFiltered: true,
suppressAggFuncInHeader: true,
suppressRowClickSelection: true,
autoGroupColumnDef: {headerName: "Athlete", field: "athlete", width: 200,
cellRenderer:'agGroupCellRenderer'
},
getNodeChildDetails: function getNodeChildDetails(rowItem) {
if (rowItem.participants) {
return {
group: true,
// open C be default
expanded: rowItem.group === 'Group C',
// provide ag-Grid with the children of this group
children: rowItem.participants,
// the key is used by the default group cellRenderer
key: rowItem.group
};
} else {
return null;
}
},
onGridReady: function (params) {
},
icons: {
groupContracted: '<img src="https://raw.githubusercontent.com/ag-grid/ag-grid/master/grid-packages/ag-grid-docs/src/javascript-grid-icons/minus.png" style="height: 12px; width: 12px;padding-right: 2px"/>',
}
};