Гибкая сетка данных разных шрифтов для заголовка столбца и текста в соответствующей ячейке - PullRequest
1 голос
/ 04 августа 2009
For a flex datagrid : 

How do I have different fonts for a column header
and the text in the corresponding cells?

1 Ответ

0 голосов
/ 04 августа 2009
Here is one workaround : 


<mx:DataGridColumn headerText="colHeader" dataField="marHD" width="100" editable="false" fontFamily="Arial" rendererIsEditor="true" editorDataField="text">
        <mx:itemRenderer>
            <mx:Component>
                   <mx:Text fontFamily="myfontfamily"/>
            </mx:Component>
            </mx:itemRenderer>
    </mx:DataGridColumn>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...