I have a hierarchical grid with EnableHierarchyExpandAll="true"
I would like to set the background color of the ExpandColumn header. I would prefer to do this with a CSS class rather than a CSS selector.
I have the following CSS defined:
.gridHeader
{
background-color:#E1EDF7 !important;
}
in my grid ItemCreated server-side event, I have the following code:
Select Case e.Item.ItemType
Case GridItemType.Header
Dim headerRow As GridHeaderItem = CType(e.Item, GridHeaderItem)
headerRow("ExpandColumn").CssClass = "gridHeader"
End Select
This doesn't seem to work. Any ideas?