Hi,
So my requirement is to change the style of the ListGridField Header, I've tried overriding both the "getHeaderBaseStyle" as well as "getHeaderTitleStyle" but the style doesn't change for the Headers. I don't want to use a CSS file for modifying the Header. Does anyone have any suggestion for this?
ListGridField field = new ListGridField("date", "Date", 70)
{
@Override
public String getHeaderBaseStyle()
{
//String style = super.getBaseStyle();
String style = "background-color:#F94336;";
return style;
}
@Override
public String getHeaderTitleStyle()
{
String style = "background-color:#F94336;";
return style;
}
};
So my requirement is to change the style of the ListGridField Header, I've tried overriding both the "getHeaderBaseStyle" as well as "getHeaderTitleStyle" but the style doesn't change for the Headers. I don't want to use a CSS file for modifying the Header. Does anyone have any suggestion for this?
ListGridField field = new ListGridField("date", "Date", 70)
{
@Override
public String getHeaderBaseStyle()
{
//String style = super.getBaseStyle();
String style = "background-color:#F94336;";
return style;
}
@Override
public String getHeaderTitleStyle()
{
String style = "background-color:#F94336;";
return style;
}
};
Comment