flex 动态报表表头和行样式设置
?
<mx:Style>
??.headerFontStyle{
???? fontSize:20px;
???? fontFamily:"黑体";
??}
?</mx:Style>??
---报表表头样式设置
?var columnGroup:DPGridgroup = new DPGridgroup();
?????????columnGroup.setStyle("headerStyleName","headerFontStyle");
?
?
--行样式设置
?var column:DPColumn =? new DPColumn ();
?column.setStyle("backgroundColor","#E2FAF1");