Flex datagrid headerColor style is not working -
I'm trying to change the header grader header color by editing the header code type. I could change the header color except the font size, font family, etc. Will anyone help me about this? Thanks a lot.
My code
Mxml
& lt; Mx: DataGrid id = "datagrid" creationComplete = "dataGrid_creationCompleteHandler (event)" Detector = "{} cityinfoResult3.lastResult" & gt; & Lt; Mx: column & gt; & Lt; Mx: DataGrud column header title = "detail" datafile = "extension" /> & Lt; Mx: DataGridColumn headerText = "name" dataField = "name" /> & Lt; / Mx: column & gt; & Lt; / Mx: data grid & gt;
Style
#dataGrid {headerColors: # ff6600; // Everything works except this one color // can not be converted? RollOverColor: # 33ccff; TextRollOverColor: #ffffff; IconColor: # ff0000; FontFamily: Arial; FONTSIZE: 12; DropShadowEnabled: true; AlternatingItemColors: # 330099, # 0000cc; Color: #ffffff; Border color: #ffffff; }
Header Colders needs an array of 2 items to cover. If you want a solid color, then I'm sure some likethis will work:
headerColors: # ff6600, # ff6600;
Comments
Post a Comment