Row Aggregation with Conditional Formatting

Row aggregation with conditional formatting is an AG Grid Enterprise feature, so you’ll need a license key to use it. See Using AG Grid Enterprise for an example of how to use your license key with Dash AG Grid components.

This will style both the summary and detail level:

cellStyle = "cellStyle": {
    "styleConditions": [
        {"condition": "params.value > 100", "style": {"color": "red"}}
    ]
},

This will style the summary levels only:

cellStyle={
    "styleConditions": [
        {
            "condition": "params.node.aggData ? params.node.aggData.gold < 3 : false",
            "style": {"backgroundColor": "silver"},
        }
    ]
}