Can someone tell me how to apply Globalstyles for the datagrid header and datagrid columns.
I placed css styles in my lib project in defaults.css (as followed in adobe material).
I am refering this style in my projects in datagrid headers headerStyleName="SomeStyleNamefromCSS". Similarly how should I specify the styles for DataGridColumn in a Global CSS file (defults.css).Because I dont want to set style seperately in all of my projects.
Also does the DatagridColumns inherit the styles from headerStyle of the Datagrid and how to deal with it in CSS files. I am using Flex 4.1
Any suggestions on this is very much appreciated
The headers pick up styles from headerStyleName, but the renderers don't.
Anything set on the DG should get picked up by all headers and renderers,
but you can also make a custom renderer and a type selector for it.