How do I define a custom template for the grouping headers in a grid? I want to style the entire header, which includes ".x-grid-group-hd div" (the div that contains the expander image).

When I tried this:




gv.GroupTextTpl = "{text} ({[values.rs.length]} {[values.rs.length > 1 ? ""funds"" : ""fund""]})"
it only styled the inner portion, which is not what I want.
I want each different grouping header to be a different color, and that color comes from the DB store.