Where/How can I change the color of the selection results grid? I'd like a bit more contrast in the results. It's currently white text with an off-white background.
I'm not seeing it in the mxml. Or perhaps is based on the style tags set in the config.xml????
Thanks.
Changes from UIManager.as doesnt seem to be picked up in this case.You will have to perform following in SelectionResults.mxml:Add import along with other imports: import mx.core.FlexGlobals;
Add following funtion: protected function dg_initializeHandler(event:FlexEvent):void
{
var dgBackgroundColor:uint = FlexGlobals.topLevelApplication.styleManager.getStyleDeclaration("global").getStyle('contentBackgroundColor');
dg.setStyle("alternatingItemColors",[dgBackgroundColor,dgBackgroundColor]);
}
Add initialize="dg_initializeHandler(event)" in following declaration:<mx:DataGrid id="dg" width="{dgContainer.width}" height="{dgContainer.height}"
horizontalScrollPolicy="on"
itemClick="dg_itemClickHandler(event)"
itemRollOver="dg_itemRollOverHandler(event)"
initialize="dg_initializeHandler(event)"/>