1 Reply Latest reply on Nov 15, 2010 10:04 PM by Flex harUI

    Using Global Style for DatagridHeader and DataGridColumn

    fresher4flex

      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