Subgroup coloring

I see how to set the color of a group within an AdvStringGrid but is there

any way to set up a separate color for subgrouping?

Currently I'm
using dbStringGrid->Grouping->HeaderColor = clYellow - but
that's as
granular as I can get.  It sets the bar color for both groups and

subgroups.  I'd like to have separate colors for both.

I've tried
using the OnGetCellColor method but when the cell is a header for
a group or
subgroup, this method is apparently not used to determine color.

in advance!


There is not directly a property setting for subgroup header color but using OnGetCellColor should allow you to change this. The color is set via the parameter ABrush.Color